Skip to content

Commit af57a33

Browse files
author
toddkarin
committed
switching to index main
1 parent 2722f58 commit af57a33

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: gunicorn app:server
1+
web: gunicorn index:server

index.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
# import datetime
2424

2525
from app import app
26+
server = app.server
27+
2628

2729
# session_id = str(uuid.uuid4())
2830
# mapbox_access_token = 'pk.eyJ1IjoidG9kZGthcmluIiwiYSI6Ik1aSndibmcifQ.hwkbjcZevafx2ApulodXaw'
@@ -96,6 +98,7 @@
9698

9799

98100

101+
99102
@app.callback(Output('page-content', 'children'),
100103
[Input('url', 'pathname')])
101104
def display_page(pathname):

0 commit comments

Comments
 (0)