Get rid of cors, add static favicon

This commit is contained in:
Kristy Fournier 2026-03-04 19:55:47 -05:00
parent da16c9bd27
commit e14484835e
2 changed files with 3 additions and 4 deletions

View file

@ -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: