diff --git a/frontend/Caddyfile b/frontend/Caddyfile index d4056fbe..55ebaa8d 100644 --- a/frontend/Caddyfile +++ b/frontend/Caddyfile @@ -28,7 +28,8 @@ } handle /env.js { header Content-Type "text/javascript" - respond `window.config = {"VITE_USER_POOLS_WEB_CLIENT_ID":"{$VITE_USER_POOLS_WEB_CLIENT_ID}","VITE_ZONE":"{$VITE_ZONE}","VITE_BACKEND_URL":"{$VITE_BACKEND_URL}"};` + # respond `window.config = {"VITE_USER_POOLS_WEB_CLIENT_ID":"{$VITE_USER_POOLS_WEB_CLIENT_ID}","VITE_ZONE":"{$VITE_ZONE}","VITE_BACKEND_URL":"{$VITE_BACKEND_URL}"};` + respond `window.config = {"VITE_USER_POOLS_WEB_CLIENT_ID":"{$VITE_USER_POOLS_WEB_CLIENT_ID}","VITE_ZONE":"{$VITE_ZONE}"};` } handle_path /* { diff --git a/frontend/openshift.deploy.yml b/frontend/openshift.deploy.yml index 5b7ec6d5..054f69cb 100644 --- a/frontend/openshift.deploy.yml +++ b/frontend/openshift.deploy.yml @@ -98,8 +98,8 @@ objects: env: - name: LOG_LEVEL value: "${LOG_LEVEL}" - - name: VITE_BACKEND_URL - value: "https://${NAME}-${ZONE}-backend.${DOMAIN}:443" + # - name: VITE_BACKEND_URL + # value: "https://${NAME}-${ZONE}-backend.${DOMAIN}:443" - name: VITE_USER_POOLS_WEB_CLIENT_ID value: "${VITE_USER_POOLS_WEB_CLIENT_ID}" - name: VITE_ZONE