Added production domain as allowed origin

This commit is contained in:
2023-08-16 12:52:17 +02:00
parent b7c85e2368
commit e9937e3ab7
@@ -20,6 +20,9 @@ open class WebConfiguration(private val headerInterceptorRest: HeaderInterceptor
HttpMethod.PUT.name(), HttpMethod.OPTIONS.name() HttpMethod.PUT.name(), HttpMethod.OPTIONS.name()
) )
registration.allowCredentials(true) registration.allowCredentials(true)
registration.allowedOrigins("http://localhost:4200") registration.allowedOrigins(
"http://localhost:4200",
"https://wahlrecht.2martens.de"
)
} }
} }