diff --git a/ecosystem.config.js b/ecosystem.config.js deleted file mode 100644 index e69de29..0000000 diff --git a/server.js b/server.js index 6d3a011..934d2db 100644 --- a/server.js +++ b/server.js @@ -18,7 +18,7 @@ app.prepare().then(() => { if (!code) { res.redirect('/login'); } else { - axios.post(config.backend.token_url, {code: code}).then((response) => { + axios.post(config.dukaan_backend.token_url, {code: code}).then((response) => { const jwtToken = response.data.jwtToken; res.cookie('dukaan-token', jwtToken) res.redirect('/');