Skip to content

Commit

Permalink
[hotfix] Add: localhost to cors
Browse files Browse the repository at this point in the history
  • Loading branch information
NayeonKeum committed Aug 27, 2023
1 parent 4d5843d commit 85a8852
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/images/control-ubuntu/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
origins = [
"http://moaroom-front.duckdns.org:3000",
"http://moaroom-back.duckdns.org:8080",
"http://localhost:3000", # for dev
]

app.add_middleware(
Expand Down
1 change: 1 addition & 0 deletions resources/images/professor-ubuntu/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
origins = [
"http://moaroom-front.duckdns.org:3000",
"http://moaroom-back.duckdns.org:8080",
"http://localhost:3000", # for dev
]

app.add_middleware(
Expand Down
1 change: 1 addition & 0 deletions resources/images/student-ubuntu/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
origins = [
"http://moaroom-front.duckdns.org:3000",
"http://moaroom-back.duckdns.org:8080",
"http://localhost:3000", # for dev
]

app.add_middleware(
Expand Down

0 comments on commit 85a8852

Please sign in to comment.