diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-09-12 13:55:35 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-28 14:03:18 +0200 |
commit | 8e022103636121b13d2ad63d61b84ca927e4aeb1 (patch) | |
tree | 1a84f7071a5c9fa25df96fe258a31e36e51efb16 /src/hydrilla/proxy/web_ui/root.py | |
parent | 146c5467ac53eaa80e74979600a6587976740bd6 (diff) | |
download | haketilo-hydrilla-8e022103636121b13d2ad63d61b84ca927e4aeb1.tar.gz haketilo-hydrilla-8e022103636121b13d2ad63d61b84ca927e4aeb1.zip |
[proxy] Add support for script blocking/allowing rules
Diffstat (limited to 'src/hydrilla/proxy/web_ui/root.py')
-rw-r--r-- | src/hydrilla/proxy/web_ui/root.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/web_ui/root.py b/src/hydrilla/proxy/web_ui/root.py index 855345e..763abab 100644 --- a/src/hydrilla/proxy/web_ui/root.py +++ b/src/hydrilla/proxy/web_ui/root.py @@ -45,6 +45,7 @@ from ... import item_infos from .. import state as st from .. import http_messages from . import options +from . import rules from . import repos from . import items from . import prompts @@ -94,7 +95,7 @@ class WebUIAppImpl(_app.WebUIApp): self.before_request(authenticate_by_referrer) - for blueprint in [repos.bp, items.bp, prompts.bp, options.bp]: + for blueprint in [rules.bp, repos.bp, items.bp, prompts.bp, options.bp]: self.register_blueprint(blueprint) # Flask app is not thread-safe and has to be accompanied by an ugly lock. This |