We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2722f58 commit af57a33Copy full SHA for af57a33
Procfile
@@ -1 +1 @@
1
-web: gunicorn app:server
+web: gunicorn index:server
index.py
@@ -23,6 +23,8 @@
23
# import datetime
24
25
from app import app
26
+server = app.server
27
+
28
29
# session_id = str(uuid.uuid4())
30
# mapbox_access_token = 'pk.eyJ1IjoidG9kZGthcmluIiwiYSI6Ik1aSndibmcifQ.hwkbjcZevafx2ApulodXaw'
@@ -96,6 +98,7 @@
96
98
97
99
100
101
102
@app.callback(Output('page-content', 'children'),
103
[Input('url', 'pathname')])
104
def display_page(pathname):
0 commit comments