Skip to content

Commit

Permalink
fix: remove legacy CORS exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd authored and sebasti810 committed Jul 4, 2024
1 parent 2a00b48 commit 858b488
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/webserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ impl WebServer {

HttpServer::new(move || {
let cors = Cors::default()
.allowed_origin("http://localhost:3000")
.allowed_origin("http://localhost:3001")
.allowed_origin("https://visualizer.sebastianpusch.de")
.allow_any_origin()
.allow_any_method()
.allow_any_header();
Expand Down

0 comments on commit 858b488

Please sign in to comment.