Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use proxy variables #77

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/Plotly Dash/ci/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# Docker image will be tagged "IMAGE:VERSION"
IMAGE = "quay.io/enthought/edge-plotly-dash-core"
VERSION = "1.1.0"
VERSION = "1.2.0"

# These will go into the built Docker image. You may wish to modify this
# minimal example to pin the dependencies, or use a bundle file to define them.
Expand Down
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
Loading