From e14484835e7045a92b010cec6366b3d776f9ba7c Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:55:47 -0500 Subject: [PATCH] Get rid of cors, add static favicon --- Server/templates/index.html | 3 ++- Server/webbyBits.py | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Server/templates/index.html b/Server/templates/index.html index 0811395..e8d0eb9 100644 --- a/Server/templates/index.html +++ b/Server/templates/index.html @@ -4,7 +4,8 @@ Jukebox Controller - + + diff --git a/Server/webbyBits.py b/Server/webbyBits.py index 0017481..d519822 100644 --- a/Server/webbyBits.py +++ b/Server/webbyBits.py @@ -66,10 +66,8 @@ player = vlcInstance.media_player_new() # for client side volume to work as well as possible, set system volume to 100 and control in app player.audio_set_volume(100) app = Flask(__name__) -# because you are POSTing from another domain to this one, you need CORS -CORS(app) # Replace the star with the frontend domain if you dislike being hacked -socketio = SocketIO(app, cors_allowed_origins="*") +socketio = SocketIO(app) def queueSong(song): with playlistLock: