front_foundation #13
Makefile
MyINPulse-back
config
documentation/openapi/src
front
Dockerfile
MyINPulse-front
index.htmlpackage-lock.jsonpackage.json
src
ApiClasses
Appointment.tsJoinRequest.tsJoinRequestDecision.tsProject.tsProjectDecision.tsRepport.tsSectionCell.tsUser.tsUserAdmin.tsUserEntrepreneur.ts
App.vuecomponents
AddProjectForm.vueAdminAppointments.vueAgendaComponent.vueHeaderComponent.vueLoginComponent.vuePendingProjectComponent.vueProjectComponent.vue
main.tscanvas
contact.tsicons
plugins
router
services
stores
views
keycloak
@ -31,7 +31,7 @@ public class WebSecurityCustomConfiguration {
|
|||||||
public CorsConfigurationSource corsConfigurationSource() {
|
public CorsConfigurationSource corsConfigurationSource() {
|
||||||
CorsConfiguration configuration = new CorsConfiguration();
|
CorsConfiguration configuration = new CorsConfiguration();
|
||||||
configuration.setAllowedOrigins(List.of(frontendUrl));
|
configuration.setAllowedOrigins(List.of(frontendUrl));
|
||||||
configuration.setAllowedMethods(Arrays.asList("GET", "OPTIONS"));
|
configuration.setAllowedMethods(Arrays.asList("GET", "OPTIONS", "POST", "PUT", "DELETE"));
|
||||||
configuration.setAllowedHeaders(
|
configuration.setAllowedHeaders(
|
||||||
Arrays.asList("authorization", "content-type", "x-auth-token"));
|
Arrays.asList("authorization", "content-type", "x-auth-token"));
|
||||||
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
||||||
|
Reference in New Issue
Block a user