mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
fix requests_pathname_prefix
This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ class MyProxyFix(ProxyFix):
|
||||
self.dash_app.requests_pathname_external_prefix = prefix
|
||||
self.dash_app.config.assets_external_path = prefix
|
||||
else:
|
||||
self.flask_app.config['APPLICATION_ROOT'] = "/"
|
||||
self.dash_app.requests_pathname_external_prefix = "/"
|
||||
self.flask_app.config['APPLICATION_ROOT'] = self.dash_app.config.requests_pathname_prefix
|
||||
self.dash_app.requests_pathname_external_prefix = self.dash_app.config.requests_pathname_prefix
|
||||
return super().__call__(environ, start_response)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user