This commit is contained in:
Xamora 2023-12-11 10:53:34 +01:00
parent af9595c447
commit cee188145d
4 changed files with 9 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
.env
*.pyc
db.sqlite3
**/migrations/**
**/migrations/**

View File

@ -62,4 +62,4 @@ class Client
}
}
export {Client}
export {Client}

6
package-lock.json generated Normal file
View File

@ -0,0 +1,6 @@
{
"name": "ft_transcendence",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

View File

@ -17,7 +17,7 @@ from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trancendence.settings')
application = ProtocolTypeRouter({
'http':get_asgi_application(),
'http':get_asgi_application(),
'websocket':AuthMiddlewareStack(
URLRouter(
chat.routing.websocket_urlpatterns