Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simone Rossi
main
Commits
0aa1e20e
Commit
0aa1e20e
authored
Aug 21, 2018
by
Daniele Venzano
Browse files
Set the proxy path also for static files
parent
e2a463a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
zoe_api/entrypoint.py
View file @
0aa1e20e
...
...
@@ -61,6 +61,7 @@ def zoe_web_main(test_conf=None) -> int:
app_settings
=
{
'static_path'
:
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"web"
,
"static"
),
'static_url_prefix'
:
args
.
reverse_proxy_path
+
'/static/'
,
'template_path'
:
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"web"
,
"templates"
),
'cookie_secret'
:
zoe_lib
.
config
.
get_conf
().
cookie_secret
,
'login_url'
:
'/login'
,
...
...
Write
Preview
Markdown
is supported
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