diff --git a/config/dev.json b/config/dev.json index b665c8d..a5de5d0 100644 --- a/config/dev.json +++ b/config/dev.json @@ -3,7 +3,7 @@ "name": "WebAuthn UX Test API - Dev Mode", "port": 4000, "mode": "development", - "siteUrl": "https://localhost:3000/", + "siteUrl": "https://localhost:3000", "protocol": "http", "serverUrl": "localhost" } diff --git a/helpers/emailTemplates.js b/helpers/emailTemplates.js index 6f4a695..16198a7 100644 --- a/helpers/emailTemplates.js +++ b/helpers/emailTemplates.js @@ -1,7 +1,7 @@ export const accountVerificationTemplate = (url) => ({ - subject: `🎉 Successfully created a new account on Fakebook`, + subject: `🎉 Verify your FakeBook account`, bodyHtml: ` -

Thanks for helping me with the study 😎

- Verify your account by clicking here +

Verify your account by clicking here

+

Thanks for helping me with the study 😎 ` }); \ No newline at end of file diff --git a/server.js b/server.js index c140c42..e8907c3 100644 --- a/server.js +++ b/server.js @@ -19,7 +19,7 @@ const config = cfg.get(mode); app.use( cors({ - origin: [config.siteUrl, "localhost", "http://web-authn.studio"], + origin: [config.siteUrl, "localhost"], credentials: true, allowedHeaders: [ "Content-Type",