mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 02:58:16 +00:00
seems the procfile may be wrong
This commit is contained in:
parent
5280a2aeee
commit
f6d9113893
12
ChannelsDrawShareSite/asgi.py
Normal file
12
ChannelsDrawShareSite/asgi.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
"""
|
||||||
|
ASGI entrypoint. Configures Django and then runs the application
|
||||||
|
defined in the ASGI_APPLICATION setting.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
import django
|
||||||
|
from channels.routing import get_default_application
|
||||||
|
|
||||||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ChannelsDrawShareSite.settings")
|
||||||
|
django.setup()
|
||||||
|
application = get_default_application()
|
||||||
Loading…
x
Reference in New Issue
Block a user