From bc1f3db14052aac2c7e770d41dadb8d9633dd266 Mon Sep 17 00:00:00 2001 From: Ashish Sam Date: Fri, 6 Oct 2023 05:34:05 +0530 Subject: [PATCH] Add IP address of server in cors --- Tithe-Spring/src/main/resources/application-stage.yml | 4 ++-- Tithe-Vue/.env.stage | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tithe-Spring/src/main/resources/application-stage.yml b/Tithe-Spring/src/main/resources/application-stage.yml index 3b4cc31..e668e51 100644 --- a/Tithe-Spring/src/main/resources/application-stage.yml +++ b/Tithe-Spring/src/main/resources/application-stage.yml @@ -4,8 +4,8 @@ spring: graphql: cors: allowed-origins: - - http://13.53.86.195 - - http://13.53.86.195:4173 + - http://16.171.119.189 + - http://16.171.119.189:4173 rabbitmq: host: rabbitmq port: 5672 diff --git a/Tithe-Vue/.env.stage b/Tithe-Vue/.env.stage index 1edc5ae..afbabf0 100644 --- a/Tithe-Vue/.env.stage +++ b/Tithe-Vue/.env.stage @@ -1 +1 @@ -VITE_GRAPHQL_ENDPOINT=http://13.53.86.195:8080/graphql +VITE_GRAPHQL_ENDPOINT=http://16.171.119.189:8080/graphql