Skip to content

Commit

Permalink
Trial and error
Browse files Browse the repository at this point in the history
  • Loading branch information
basiliskus committed Dec 26, 2024
1 parent 64ba43d commit 71fd96b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public static void main(String[] args) {
cors.addRule(
it -> {
it.allowCredentials = true;
it.anyHost();
it.allowHost("http://localhost:8080");
it.allowHost("http://127.0.0.1:8080");
it.allowHost("http://172.17.0.1:8080");
});
});
})
Expand Down

0 comments on commit 71fd96b

Please sign in to comment.