Skip to content

Commit 801f7ef

Browse files
committed
Rename Sleepy bike to Tired bike, update license
1 parent ce8d013 commit 801f7ef

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.env.sample

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
PORT=3005
33

44
# 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
77
# provide path to a logo to display on top of emails - keep it small!
88
# absolute path, or relative path to the base of the project
99
APP_LOGO=./logo.png
10-
SUPPORT_EMAIL=support@sleepy.bike
10+
SUPPORT_EMAIL=support@tired.bike
1111

1212
# server base url, e.g. to construct correct email verification link
1313
# this is the base url that end users see
@@ -42,7 +42,7 @@ SMTP_TRANSPORT_AUTH_PASS=
4242
SMTP_TRANSPORT_REQUIRE_TLS=
4343

4444
# 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
4646

4747
# JWT
4848
# path to JWT (private) key

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023
3+
Copyright (c) 2023 Tired Bike
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/config/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import SMTPTransport from 'nodemailer/lib/smtp-transport'
77
// server base url, e.g. to construct correct email verification links
88
export const baseUrl = process.env.BASE_URL ?? 'http://localhost:3005'
99

10-
export const appName = process.env.APP_NAME ?? 'Sleepy.bike'
10+
export const appName = process.env.APP_NAME ?? 'Tired.bike'
1111

12-
export const appUrl = process.env.APP_URL ?? 'https://sleepy.bike'
12+
export const appUrl = process.env.APP_URL ?? 'https://tired.bike'
1313

14-
// default is sleepy.bike logo
14+
// default is tired.bike logo
1515
export const appLogo = process.env.APP_LOGO ?? './logo.png'
1616

17-
export const supportEmail = process.env.SUPPORT_EMAIL ?? 'support@sleepy.bike'
17+
export const supportEmail = process.env.SUPPORT_EMAIL ?? 'support@tired.bike'
1818

1919
// identity under which the mailer is operating
2020
export const mailerCredentials = {
@@ -49,7 +49,7 @@ export const smtpTransportOptions: SMTPTransport.Options = {
4949

5050
// email address which will be the sender of the notifications and email verification messages
5151
export const emailSender =
52-
process.env.EMAIL_SENDER ?? 'noreply@notifications.sleepy.bike'
52+
process.env.EMAIL_SENDER ?? 'noreply@notifications.tired.bike'
5353

5454
export const port: number = +(process.env.PORT ?? 3005)
5555

src/services/mailerService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const sendMail = async (options: Mail.Options) => {
1111
{
1212
filename: path.basename(appLogo),
1313
path: appLogo,
14-
cid: 'applogo@sleepy.bike',
14+
cid: 'applogo@tired.bike',
1515
},
1616
...(options.attachments ?? []),
1717
],

src/templates/layout.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<body>
77
<header><img
88
alt='logo of {{appName}}'
9-
src='cid:applogo@sleepy.bike'
9+
src='cid:applogo@tired.bike'
1010
height='32'
1111
/></header>
1212
{{{body}}}

src/templates/message.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<p>
1313
<a
14-
href='https://sleepy.bike/messages/{{encodeURIComponent actor.id}}'
14+
href='https://tired.bike/messages/{{encodeURIComponent actor.id}}'
1515
class='action-button'
1616
>Reply on
1717
{{appName}}</a>

0 commit comments

Comments
 (0)