fix favicon serve error

This commit is contained in:
Alberto Xamin 2020-11-25 21:52:35 +01:00
parent 92f948719e
commit 7cd89837b8
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -10,6 +10,7 @@ from players import Player
sio = socketio.Server(cors_allowed_origins="*")
app = socketio.WSGIApp(sio, static_files={
'/': {'content_type': 'text/html', 'filename': 'index.html'},
'/favicon.ico': {'filename': 'favicon.ico'},
'/css': './css',
'/js': './js',
})