From a7bfc0c00c4a98a2b8da5ba1e5ffec2ff4de19bf Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 14 Mar 2021 04:40:28 +1100 Subject: [PATCH] Updated tutorial setup (markdown) --- tutorial-setup.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorial-setup.md b/tutorial-setup.md index 34fccc6..f282a0a 100644 --- a/tutorial-setup.md +++ b/tutorial-setup.md @@ -138,9 +138,9 @@ Next, you'll need to open the MERN-template's `webpack.config.js` file, and repl new DefinePlugin({ 'process.env': { 'PRODUCTION': production, - 'NEWS_URI': production ? `"${process.env.NEWS_URI}"` : '"https://dev-news.eggtrainer.com/news"', - 'AUTH_URI': production ? `"${process.env.AUTH_URI}"` : '"https://dev-auth.eggtrainer.com/auth"', - 'CHAT_URI': production ? `"${process.env.CHAT_URI}"` : '"https://dev-chat.eggtrainer.com/chat"', + 'NEWS_URI': production ? `"${process.env.NEWS_URI}"` : '"https://dev-news.eggtrainer.com"', + 'AUTH_URI': production ? `"${process.env.AUTH_URI}"` : '"https://dev-auth.eggtrainer.com"', + 'CHAT_URI': production ? `"${process.env.CHAT_URI}"` : '"https://dev-chat.eggtrainer.com"', } }), ``` @@ -151,9 +151,9 @@ With the following (this point the client at the correct localhost ports, notice new DefinePlugin({ 'process.env': { 'PRODUCTION': production, - 'NEWS_URI': production ? `"${process.env.NEWS_URI}"` : '"http://localhost:3100/news"', - 'AUTH_URI': production ? `"${process.env.AUTH_URI}"` : '"http://localhost:3200/auth"', - 'CHAT_URI': production ? `"${process.env.CHAT_URI}"` : '"http://localhost:3300/chat"', + 'NEWS_URI': production ? `"${process.env.NEWS_URI}"` : '"http://localhost:3100"', + 'AUTH_URI': production ? `"${process.env.AUTH_URI}"` : '"http://localhost:3200"', + 'CHAT_URI': production ? `"${process.env.CHAT_URI}"` : '"http://localhost:3300"', } }), ```