diff --git a/README.md b/README.md index 5413566..951fb29 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ npm start Required for Production: -- ENSL.org: Authentication - Admin tools: Modify Messages - Admin tools: Remove gatherer - ENSL.org: Pull bans diff --git a/config/routes.js b/config/routes.js index c399178..52ba466 100644 --- a/config/routes.js +++ b/config/routes.js @@ -6,7 +6,9 @@ var config = require("./config.js"); module.exports = app => { app.get("/", (request, response, next) => { - response.render("index.hbs"); + response.render("index.hbs", { + redirect: config.ensl_url + }); }); app.get("/redirect", (request, response, next) => { diff --git a/views/index.hbs b/views/index.hbs index 2a6cc00..9072107 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -23,7 +23,10 @@
ENSL Logo
-

You need to be logged to the ENSL website to access gathers

+

You need to be logged in to the ENSL website ({{ redirect }}) to access gathers

+

If this error persists please contact an admin to fix it

+
+

Go to website

diff --git a/views/redirect.hbs b/views/redirect.hbs index b44a1cf..618d068 100644 --- a/views/redirect.hbs +++ b/views/redirect.hbs @@ -5,7 +5,7 @@
ENSL Logo
-

You need to be logged to the ENSL website to access gathers

+

You need to be logged in to the ENSL website ({{ redirect }}) to access gathers


Go to website