From 8e94777d2ad87d88a0f733581d56842f812d115f Mon Sep 17 00:00:00 2001 From: Chirag Ghosh Date: Mon, 17 Jun 2024 09:06:05 +0530 Subject: [PATCH] fix: use only one level of subdomain Signed-off-by: Chirag Ghosh --- frontend/src/constants.ts | 2 +- metaploy/heimdall.metaploy.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/constants.ts b/frontend/src/constants.ts index 43e01db..f990cb9 100644 --- a/frontend/src/constants.ts +++ b/frontend/src/constants.ts @@ -1,5 +1,5 @@ export const BACKEND_URL = import.meta.env.PROD - ? "https://api.heimdall.metakgp.org" + ? "https://heimdall-api.metakgp.org" : "http://localhost:3333"; export const servicesList = [ diff --git a/metaploy/heimdall.metaploy.conf b/metaploy/heimdall.metaploy.conf index 5d214d0..6156ce8 100644 --- a/metaploy/heimdall.metaploy.conf +++ b/metaploy/heimdall.metaploy.conf @@ -3,7 +3,7 @@ upstream heimdall_server { } server { - server_name api.heimdall.metakgp.org; + server_name heimdall-api.metakgp.org; location / { proxy_pass http://heimdall_server;