From 709952bf60479923fb9fa9d2fc991182d9fe8391 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 8 Feb 2022 19:12:54 -0500 Subject: [PATCH] Minor changes --- app/main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 7e9156d..c7ae889 100644 --- a/app/main.py +++ b/app/main.py @@ -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(