Skip to content

Commit

Permalink
Fixed CORS issue for whitelisted origins
Browse files Browse the repository at this point in the history
  • Loading branch information
BRUNO MIGUEL GOMES DOS SANTOS committed Jun 7, 2021
1 parent 0d3d1a0 commit 51da815
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1
6 changes: 3 additions & 3 deletions src/app/main_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

origins = [
"http://localhost:3000",
"http://172.28.3.126:30008/",
"http://172.28.3.126:30009/",
"https://5gzorro.netlify.app/",
"http://172.28.3.126:30008",
"http://172.28.3.126:30009",
"https://5gzorro.netlify.app",
]

app.add_middleware(
Expand Down
6 changes: 3 additions & 3 deletions src/app/main_trading_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

origins = [
"http://localhost:3000",
"http://172.28.3.126:30008/",
"http://172.28.3.126:30009/",
"https://5gzorro.netlify.app/",
"http://172.28.3.126:30008",
"http://172.28.3.126:30009",
"https://5gzorro.netlify.app",
]

app.add_middleware(
Expand Down

0 comments on commit 51da815

Please sign in to comment.