Updated CORS
This commit is contained in:
8
aether_api_fastapi.code-workspace
Normal file
8
aether_api_fastapi.code-workspace
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {}
|
||||||
|
}
|
||||||
@@ -353,6 +353,7 @@ app.include_router(
|
|||||||
# NOTE: Need to .localhost for less browser restrictions! Mainly for audio and video.
|
# NOTE: Need to .localhost for less browser restrictions! Mainly for audio and video.
|
||||||
origins = [
|
origins = [
|
||||||
'https://oneskyit.com',
|
'https://oneskyit.com',
|
||||||
|
'http://app-local.oneskyit.com',
|
||||||
'http://192.168.32.20:3000',
|
'http://192.168.32.20:3000',
|
||||||
'http://192.168.32.20:8080',
|
'http://192.168.32.20:8080',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user