diff --git a/server/controllers/contact_list_controller.js b/server/controllers/contact_list_controller.js index dd6a187f..ce026668 100644 --- a/server/controllers/contact_list_controller.js +++ b/server/controllers/contact_list_controller.js @@ -6,10 +6,10 @@ const Settings = require('../../settings'); const optIn = 'opt-in'; function prepareConfirmationEmail(reqBody) { - const subject = "Please Confirm Your Email Address"; + const subject = "[みんなの女子トーク]仮登録ありがとうございます。"; const url = formatUrl(Settings.url) + '/success'; - const link = "this link" - const mailText = "Thanks for signing up! Click " + link + " to sign up! This link will be active for 24 hours."; + const link = "こちら" + const mailText = "仮登録ありがとうございます。" + link + "をクリックして本登録を完了してください。URLは24時間有効です。"; var emailBody = { personalizations: [ diff --git a/server/router.js b/server/router.js index a654e4af..80fc6e1e 100644 --- a/server/router.js +++ b/server/router.js @@ -4,6 +4,7 @@ const ContactList = require('./controllers/contact_list_controller'); module.exports = function(app) { app.get('/', function(req, res) { res.sendFile(path.join(__dirname, '/static/index.html')) }); app.get('/success', function(req, res) { res.sendFile(path.join(__dirname, '/static/success.html')) }); + app.get('/webauth', function(req, res) { res.sendFile(path.join(__dirname, '/static/webauth.html')) }); app.post('/confirmEmail', ContactList.sendConfirmation); app.post('/signup', ContactList.addUser); -} \ No newline at end of file +} diff --git a/server/static/check-inbox.html b/server/static/check-inbox.html index 010d97eb..e888c400 100644 --- a/server/static/check-inbox.html +++ b/server/static/check-inbox.html @@ -1 +1,821 @@ -
女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!
2021年冬公開予定
+ご登録ありがとうございます。
ご登録いただいたメールアドレスに
本登録用のURLをお送りしました。
お送りしたURLから本登録を行ってください。
女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!
2021年冬公開予定
+エラーが発生しました。
メールアドレスをご確認の上、再度ご入力ください。
女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!
2021年冬公開予定
+掲示板オープンのお知らせを GET するには
以下にメールアドレスを入力して
「メールを登録する」をクリック。
女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!
2021年冬公開予定
+本登録ありがとうございます。
掲示板オープンをどうぞお楽しみに。
web-auth-2021-11\ No newline at end of file diff --git a/settings.js b/settings.js index fd43e184..75b68ed0 100644 --- a/settings.js +++ b/settings.js @@ -1,8 +1,8 @@ // Change the url to the domain of your app -exports.url = 'http://localhost:3090'; +exports.url = 'https://sendgridgirlstalkdemo.herokuapp.com/'; exports.senderEmail = "sender@example.com"; -exports.senderName = "Sender Name"; +exports.senderName = "みんなの女子トーク"; // set 'exports.listId = null' to add contact to all contacts, but no specific list // or a string with the listId to add to a specific list