From 6f77fcee264938fcb0975df1a99f7bb48ea525d6 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 19 Apr 2022 00:34:25 -0400 Subject: [PATCH] Updated CORS --- aether_api_fastapi.code-workspace | 8 ++++++++ app/main.py | 1 + 2 files changed, 9 insertions(+) create mode 100644 aether_api_fastapi.code-workspace diff --git a/aether_api_fastapi.code-workspace b/aether_api_fastapi.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/aether_api_fastapi.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/app/main.py b/app/main.py index 2516286..a7c89a3 100644 --- a/app/main.py +++ b/app/main.py @@ -353,6 +353,7 @@ app.include_router( # NOTE: Need to .localhost for less browser restrictions! Mainly for audio and video. origins = [ 'https://oneskyit.com', + 'http://app-local.oneskyit.com', 'http://192.168.32.20:3000', 'http://192.168.32.20:8080',