Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FoodInformatics
msx-tool
Commits
784b8448
Commit
784b8448
authored
Mar 05, 2021
by
Jim Hoekstra
👋🏻
Browse files
added url_base_pathname parameter to Dash object
parent
48f4951f
Pipeline
#19259
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
784b8448
...
...
@@ -5,7 +5,6 @@ RUN useradd --create-home -r -g msx_user msx_user
ENV
PYTHONUNBUFFERED=1
WORKDIR
/app
COPY
./requirements.txt /app/requirements.txt
...
...
dash_app/app.py
View file @
784b8448
...
...
@@ -15,7 +15,7 @@ external_stylesheets = [
]
app
=
dash
.
Dash
(
name
=
__name__
,
external_stylesheets
=
external_stylesheets
)
app
=
dash
.
Dash
(
name
=
__name__
,
external_stylesheets
=
external_stylesheets
,
url_base_pathname
=
'/msx/'
)
graph
=
Graph
()
graph
.
fill_with_associations
(
'fruit'
)
cyto_graph
=
graph
.
get_graph
(
'msx-graph'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment