Commit 60b56f3e authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

pithos: Force redirect instead of proxying for astakos ui views


Signed-off-by: default avatarKostas Papadimitriou <kpap@grnet.gr>
Signed-off-by: default avatarIlias Tsitsimpis <iliastsi@grnet.gr>
parent ab360c54
......@@ -97,9 +97,11 @@ astakos_auth_proxy = \
astakos_account_proxy = \
partial(proxy, proxy_base=ASTAKOS_ACCOUNT_PROXY_PATH,
target_base=ASTAKOS_ACCOUNT_URL)
# ui views serve html content, redirect instead of proxing
astakos_ui_proxy = \
partial(proxy, proxy_base=ASTAKOS_UI_PROXY_PATH,
target_base=ASTAKOS_UI_URL)
target_base=ASTAKOS_UI_URL, redirect=True)
urlpatterns += api_patterns(
'',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment