Skip to content
Snippets Groups Projects
Commit 24ab6b96 authored by Anders Montsko Austlid's avatar Anders Montsko Austlid
Browse files

Merge branch 'bugfix/i-forgot-to-commit-cors-policy' into 'main'

I forgot to commit a line removal in cors policy

See merge request idatt2106-v23-03/backend!65
parents 333cdba0 4ffb54cd
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,6 @@ public class CorsConfig {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins(domainProperty.domain())
.allowedOrigins("https://smartmat.app")
.allowedMethods(Arrays.asList(
HttpMethod.GET.name(),
HttpMethod.POST.name(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment