From c48fcba9947f60cf515748fed68e11663f0dc420 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 29 Jul 2025 12:49:50 +1000 Subject: [PATCH] Commented out MacOS check in configure-script.js --- configure-script.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/configure-script.js b/configure-script.js index b323034..a950cad 100644 --- a/configure-script.js +++ b/configure-script.js @@ -46,13 +46,14 @@ See https://github.com/krgamestudios/MERN-template/wiki for help. ` ); - //determine local computer address for mac user vs everyone else - let macUser = ''; - while (macUser.toLowerCase() !== 'yes' && macUser.toLowerCase() !== 'no') { - macUser = await question('Will the MERN-Template be running locally on a MacOS system? (yes or no, this only alters startup.sql)', ''); - } + // //determine local computer address for mac user vs everyone else + // let macUser = ''; + // while (macUser.toLowerCase() !== 'yes' && macUser.toLowerCase() !== 'no') { + // macUser = await question('Will the MERN-Template be running locally on a MacOS system? (yes or no, this only alters startup.sql)', ''); + // } - const localAddress = macUser ? 'localhost' : '%'; + // const localAddress = macUser === 'yes' ? 'localhost' : '%'; + const localAddress = '%'; //project configuration const projectName = await question('Project Name', 'template'); @@ -180,7 +181,7 @@ See https://github.com/krgamestudios/MERN-template/wiki for help. const defaultHost = tmpHost; if (defaultUser) { - console.log(`Default user email will be: ${defaultUser}@${authWebAddress}`); + console.log(`Default user email will be: ${defaultUser}@${defaultHost}`); } //traefic configuration @@ -376,7 +377,7 @@ networks: FROM node:22-bookworm-slim WORKDIR "/app" COPY . /app -RUN mkdir /app/public +RUN mkdir -p /app/public RUN chown node:node /app/public RUN npm install --production EXPOSE ${projectPort}