From e70acee98a2e7e6be2e293055cd0eef6051dce7c Mon Sep 17 00:00:00 2001 From: Vladik-gif Date: Sun, 20 Oct 2024 13:51:24 +0300 Subject: [PATCH] Added link for CORS --- src/main/resources/application.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index c02291d..a231126 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -39,7 +39,8 @@ security.jwt.access-expiration=60m security.jwt.refresh-expiration=10080m #CORS -cors.allowed-origins=${CORS_ORIGINS:http://localhost:8080,http://localhost:5557,http://localhost:3000,http://85.235.140.66:8080/, *} +cors.allowed-origins=${CORS_ORIGINS:http://localhost:8080,http://localhost:5557,http://localhost:3000,\ + http://85.235.140.66:8080/,http://10.11.0.100:3000} cors.allowed-methods=GET, POST, PUT, PATCH, DELETE cors.allowed-headers=* cors.allow-credentials=true