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

Merge branch 'change-ip' into 'main'

Change cors IP for dev testing

See merge request idatt2106-v23-03/backend!99
parents 9375c8c7 7ce62784
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ public class CorsConfig {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins(Arrays.asList("https://localhost",
"https://10.24.38.136",
"https://10.24.21.135",
domainProperty.domain()
).toArray(String[]::new))
.allowedMethods(Arrays.asList(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment