From 1547d84e68eaed89afbf45fbbba91582a2f61176 Mon Sep 17 00:00:00 2001 From: Oleg Ryazancev Date: Tue, 5 Mar 2024 18:05:29 +0300 Subject: [PATCH] Update CORS --- .../parkingreservationsystem/config/ApplicationConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/ryazancev/parkingreservationsystem/config/ApplicationConfig.java b/src/main/java/ru/ryazancev/parkingreservationsystem/config/ApplicationConfig.java index d4c0c51..2bdb8f0 100644 --- a/src/main/java/ru/ryazancev/parkingreservationsystem/config/ApplicationConfig.java +++ b/src/main/java/ru/ryazancev/parkingreservationsystem/config/ApplicationConfig.java @@ -78,7 +78,7 @@ public SecurityFilterChain filterChain( CorsConfiguration config = new CorsConfiguration(); config.setAllowedOrigins( List.of("http://localhost:3000", - "https://parkmeclient-production.up.railway.app/")); + "https://parkmeclient-production.up.railway.app")); config.setAllowedMethods( List.of("GET", "POST",