File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2
2
PORT = 3005
3
3
4
4
# name of the app that sends the emails - featured in the message subject or body
5
- APP_NAME = Sleepy .bike
6
- APP_URL = https://sleepy .bike
5
+ APP_NAME = Tired .bike
6
+ APP_URL = https://tired .bike
7
7
# provide path to a logo to display on top of emails - keep it small!
8
8
# absolute path, or relative path to the base of the project
9
9
APP_LOGO = ./logo.png
10
- SUPPORT_EMAIL = support@sleepy .bike
10
+ SUPPORT_EMAIL = support@tired .bike
11
11
12
12
# server base url, e.g. to construct correct email verification link
13
13
# this is the base url that end users see
@@ -42,7 +42,7 @@ SMTP_TRANSPORT_AUTH_PASS=
42
42
SMTP_TRANSPORT_REQUIRE_TLS =
43
43
44
44
# email address which will be the sender of the notifications and email verification messages
45
- EMAIL_SENDER = noreply@notifications.sleepy .bike
45
+ EMAIL_SENDER = noreply@notifications.tired .bike
46
46
47
47
# JWT
48
48
# path to JWT (private) key
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2023
3
+ Copyright (c) 2023 Tired Bike
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ import SMTPTransport from 'nodemailer/lib/smtp-transport'
7
7
// server base url, e.g. to construct correct email verification links
8
8
export const baseUrl = process . env . BASE_URL ?? 'http://localhost:3005'
9
9
10
- export const appName = process . env . APP_NAME ?? 'Sleepy .bike'
10
+ export const appName = process . env . APP_NAME ?? 'Tired .bike'
11
11
12
- export const appUrl = process . env . APP_URL ?? 'https://sleepy .bike'
12
+ export const appUrl = process . env . APP_URL ?? 'https://tired .bike'
13
13
14
- // default is sleepy .bike logo
14
+ // default is tired .bike logo
15
15
export const appLogo = process . env . APP_LOGO ?? './logo.png'
16
16
17
- export const supportEmail = process . env . SUPPORT_EMAIL ?? 'support@sleepy .bike'
17
+ export const supportEmail = process . env . SUPPORT_EMAIL ?? 'support@tired .bike'
18
18
19
19
// identity under which the mailer is operating
20
20
export const mailerCredentials = {
@@ -49,7 +49,7 @@ export const smtpTransportOptions: SMTPTransport.Options = {
49
49
50
50
// email address which will be the sender of the notifications and email verification messages
51
51
export const emailSender =
52
- process . env . EMAIL_SENDER ?? 'noreply@notifications.sleepy .bike'
52
+ process . env . EMAIL_SENDER ?? 'noreply@notifications.tired .bike'
53
53
54
54
export const port : number = + ( process . env . PORT ?? 3005 )
55
55
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const sendMail = async (options: Mail.Options) => {
11
11
{
12
12
filename : path . basename ( appLogo ) ,
13
13
path : appLogo ,
14
- cid : 'applogo@sleepy .bike' ,
14
+ cid : 'applogo@tired .bike' ,
15
15
} ,
16
16
...( options . attachments ?? [ ] ) ,
17
17
] ,
Original file line number Diff line number Diff line change 6
6
<body >
7
7
<header ><img
8
8
alt =' logo of {{ appName }} '
9
- src =' cid:applogo@sleepy .bike'
9
+ src =' cid:applogo@tired .bike'
10
10
height =' 32'
11
11
/></header >
12
12
{{{ body }}}
Original file line number Diff line number Diff line change 11
11
12
12
<p >
13
13
<a
14
- href =' https://sleepy .bike/messages/{{ encodeURIComponent actor.id }} '
14
+ href =' https://tired .bike/messages/{{ encodeURIComponent actor.id }} '
15
15
class =' action-button'
16
16
>Reply on
17
17
{{ appName }} </a >
You can’t perform that action at this time.
0 commit comments