From c220f816a829034bbb6b9ddb6f1d22d3aa3c593d Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 20 Apr 2022 08:52:19 +0400 Subject: [PATCH] #3 -- fix config --- .../java/ru/ulstu/configuration/ControllersConfiguration.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/ru/ulstu/configuration/ControllersConfiguration.java b/src/main/java/ru/ulstu/configuration/ControllersConfiguration.java index a741aea..3b2b59f 100644 --- a/src/main/java/ru/ulstu/configuration/ControllersConfiguration.java +++ b/src/main/java/ru/ulstu/configuration/ControllersConfiguration.java @@ -12,7 +12,6 @@ class ControllersConfiguration { public CorsFilter corsFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); CorsConfiguration config = new CorsConfiguration(); - config.setAllowCredentials(true); config.addAllowedOrigin("*"); config.addAllowedHeader("*"); config.addAllowedMethod("GET");