From c9a7e44a7e4c86697d97c6735b799e6981ee62e2 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Thu, 23 May 2024 13:00:42 -0700 Subject: [PATCH] chore(ci): try dropping VITE_BACKEND_URL --- frontend/Caddyfile | 3 ++- frontend/openshift.deploy.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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