Skip to content

Commit

Permalink
plotly dash do not specify prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jychuah committed Apr 1, 2024
1 parent 2138337 commit d1fc5b8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Core/Plotly Dash/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
from edge.api import EdgeSession
from flask import Flask

# Your app will be served by Edge under this URL prefix.
# Please note the value will contain a trailing "/" character.
PREFIX = os.environ.get("JUPYTERHUB_SERVICE_PREFIX", "/")


def get_edge_session():
"""Helper function to get an EdgeSession object.
Expand Down Expand Up @@ -59,7 +55,7 @@ def is_set(name):
# "flask_app" instead.
flask_app = Flask(__name__)

dash_app = Dash(server=flask_app, url_base_pathname=PREFIX)
dash_app = Dash(server=flask_app)


df = pd.read_csv(
Expand Down

0 comments on commit d1fc5b8

Please sign in to comment.