Skip to content

Commit e3ddb6f

Browse files
Matt JamesMatt James
Matt James
authored and
Matt James
committed
0.2.0
1 parent 9e22b17 commit e3ddb6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1325
-1179
lines changed

bs-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ module.exports = {
77
},
88
open: false,
99
notify: false
10-
};
10+
};
1111

config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"baseURL": "http://localhost:3001",
2+
"baseUri": "http://localhost:3001",
33
"port": 3001,
44
"domain": "localhost",
5-
"version": "0.1.0-beta7"
5+
"version": "0.2.0-beta1"
66
}

handlers/email.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ async function sendVerificationEmail(email, token) {
112112
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;">Hello,</p>
113113
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;">Thank you for registering on ${name}. Please click the button below to verify your email address:</p>
114114
<div style="text-align: center; margin-bottom: 20px;">
115-
<a href="${config.baseURL}/verify/${token}" style="display: inline-block; padding: 14px 28px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 30px; box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);">Verify Email Address</a>
115+
<a href="${config.baseUri}/verify/${token}" style="display: inline-block; padding: 14px 28px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 30px; box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);">Verify Email Address</a>
116116
</div>
117117
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;">If you're having trouble clicking the button above, you can also verify your email by copying and pasting the following link into your browser:</p>
118-
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;"><a href="${config.baseURL}/verify/${token}" style="color: #4CAF50; word-wrap: break-word; text-decoration: underline;">${config.baseURL}/verify/${token}</a></p>
118+
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;"><a href="${config.baseUri}/verify/${token}" style="color: #4CAF50; word-wrap: break-word; text-decoration: underline;">${config.baseUri}/verify/${token}</a></p>
119119
<p style="font-size: 16px; text-align: center; margin-bottom: 20px;">If you didn't create an account on ${name}, please disregard this email.</p>
120120
<p style="font-size: 16px; text-align: center;">Thanks,<br/>The ${name} Team</p>
121121
</div>
@@ -241,10 +241,10 @@ async function sendTestEmail(recipientEmail) {
241241
<p style="font-size: 16px;">Hello,</p>
242242
<p style="font-size: 16px;">We received a request to reset your password. Click the button below to reset it:</p>
243243
<div style="text-align: center; margin: 20px 0;">
244-
<a href="${config.baseURL}/auth/reset/${token}" style="display: inline-block; padding: 12px 24px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 5px;">Reset Password</a>
244+
<a href="${config.baseUri}/auth/reset/${token}" style="display: inline-block; padding: 12px 24px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 5px;">Reset Password</a>
245245
</div>
246246
<p style="font-size: 16px;">If the button above does not work, click the link below:</p>
247-
<p style="font-size: 16px; text-align: center;"><a href="${config.baseURL}/auth/reset/${token}" style="color: #4CAF50; word-wrap: break-word;">${config.baseURL}/auth/reset/${token}</a></p>
247+
<p style="font-size: 16px; text-align: center;"><a href="${config.baseUri}/auth/reset/${token}" style="color: #4CAF50; word-wrap: break-word;">${config.baseUri}/auth/reset/${token}</a></p>
248248
<p style="font-size: 16px;">If you did not request a password reset, please ignore this email. Your password will remain unchanged.</p>
249249
<p style="font-size: 16px;">Thank you,</p>
250250
<p style="font-size: 16px;">The ${name} Team</p>
@@ -275,10 +275,10 @@ async function sendTestEmail(recipientEmail) {
275275
<p style="font-size: 16px;">Hello,</p>
276276
<p style="font-size: 16px;">We received a request to reset your password. Click the button below to reset it:</p>
277277
<div style="text-align: center; margin: 20px 0;">
278-
<a href="${config.baseURL}/auth/reset/${token}" style="display: inline-block; padding: 12px 24px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 5px;">Reset Password</a>
278+
<a href="${config.baseUri}/auth/reset/${token}" style="display: inline-block; padding: 12px 24px; font-size: 16px; color: #ffffff; background-color: #4CAF50; text-decoration: none; border-radius: 5px;">Reset Password</a>
279279
</div>
280280
<p style="font-size: 16px;">If the button above does not work, click the link below:</p>
281-
<p style="font-size: 16px; text-align: center;"><a href="${config.baseURL}/auth/reset/${token}" style="color: #4CAF50; word-wrap: break-word;">${config.baseURL}/auth/reset/${token}</a></p>
281+
<p style="font-size: 16px; text-align: center;"><a href="${config.baseUri}/auth/reset/${token}" style="color: #4CAF50; word-wrap: break-word;">${config.baseUri}/auth/reset/${token}</a></p>
282282
<p style="font-size: 16px;">If you did not request a password reset, please ignore this email. Your password will remain unchanged.</p>
283283
<p style="font-size: 16px;">Thank you,</p>
284284
<p style="font-size: 16px;">The ${name} Team</p>

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* /____/_/|_|\__, / .___/\____/_/ \__/
77
* /____/_/
88
*
9-
* Skyport Panel v1 (Firestorm)
9+
* Skyport Panel (Incendior)
1010
* (c) 2024 Matt James and contributers
1111
*
1212
*/

0 commit comments

Comments
 (0)