From 6685ac2ce291af81cce8c2d02ff6ae5a354c1c26 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Mon, 30 Nov 2020 13:31:48 +0100 Subject: [PATCH] add game to server --- backend/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/__init__.py b/backend/__init__.py index eb4516d..14ced17 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -10,6 +10,7 @@ from bang.players import Player sio = socketio.Server(cors_allowed_origins="*") app = socketio.WSGIApp(sio, static_files={ '/': {'content_type': 'text/html', 'filename': 'index.html'}, + '/game': {'content_type': 'text/html', 'filename': 'index.html'}, '/favicon.ico': {'filename': 'favicon.ico'}, '/img/icons': './img/icons', '/manifest.json': {'filename': 'manifest.json'},