Minor changes

This commit is contained in:
Scott Idem
2022-02-08 19:12:54 -05:00
parent 08591c5de6
commit 709952bf60

View File

@@ -335,6 +335,7 @@ app.include_router(
# BEGIN: CORS
# NOTE: Need to .localhost for less browser restrictions! Mainly for audio and video.
origins = [
'https://oneskyit.com',
'http://192.168.32.20:3000',
@@ -353,12 +354,13 @@ origins = [
'http://fastapi.oneskyit.local:5000',
'http://svelte.oneskyit.local:5555',
'http://connect.oneskyit.local:5000',
'http://connect.localhost:5000', # Using localhost
'http://connect.oneskyit.local:5000',
'http://demo.oneskyit.local:5000',
'http://demo.localhost:5000', # Using localhost
'http://demo.oneskyit.local:5000',
'http://dev.localhost:5000', # Using localhost
'http://dev.oneskyit.local:5000',
'http://dev-app.oneskyit.local:5000',
'http://dev-svelte.oneskyit.local:5555',
@@ -370,6 +372,9 @@ origins = [
'http://cmsc.oneskyit.local:5000',
'http://idaa.oneskyit.local:5000',
'http://ishlt.oneskyit.local:5000',
'http://dev-ishlt.localhost:5000', # Using localhost
'http://ishlt.localhost:5000', # Using localhost
]
app.add_middleware(