diff --git a/frontend/.env.production b/frontend/.env.production index ea17092..3f8f5b2 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,6 +1,6 @@ PRODUCTION_ENV_VARIABLE="server_only_production_variable" NEXT_PUBLIC_PRODUCTION_ENV_VARIABLE="public_production_variable" -HOSTNAME=13.209.33.37 +HOSTNAME=sef.today PORT=9000 -NEXT_PUBLIC_ENV_BASE_URL=https://$HOSTNAME:$PORT/ +NEXT_PUBLIC_ENV_BASE_URL=http://$HOSTNAME:$PORT/ diff --git a/frontend/next.config.js b/frontend/next.config.js index ac62cc2..7236b14 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -23,7 +23,7 @@ module.exports = (phase, { defaultConfig }) => { const env = { RESTURL_BACKEND: (() => { if (isDev) return "http://localhost:9000/"; - if (isProd) return "http://13.209.33.37:9000/"; + if (isProd) return "http://sef.today:9000/"; if (isStaging) return "http://localhost:11639/"; return "RESTURL_BACKEND:not (isDev,isProd && !isStaging,isProd && isStaging)"; })(), diff --git a/frontend/utils/Cookies/config/config.json b/frontend/utils/Cookies/config/config.json index d191274..6ce8d4a 100644 --- a/frontend/utils/Cookies/config/config.json +++ b/frontend/utils/Cookies/config/config.json @@ -4,7 +4,7 @@ "HTTP_ONLY": false }, "production": { - "BACKEND_URL": "http://13.209.33.37:9000/", + "BACKEND_URL": "http://sef.today:9000/", "HTTP_ONLY": true } }