aboutsummaryrefslogtreecommitdiff
path: root/tools/domprops.html
AgeCommit message (Expand)Author
2020-08-23update `domprops` (#4065)Alex Lam S.L
able>context:space:mode:
Diffstat (limited to 'src/hydrilla/proxy/policies/web_ui.py')
-rw-r--r--src/hydrilla/proxy/policies/web_ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/policies/web_ui.py b/src/hydrilla/proxy/policies/web_ui.py
index 284d062..74a0655 100644
--- a/src/hydrilla/proxy/policies/web_ui.py
+++ b/src/hydrilla/proxy/policies/web_ui.py
@@ -62,7 +62,8 @@ class WebUIPolicyFactory(base.PolicyFactory):
ui_domain: t.ClassVar[web_ui.UIDomain]
def make_policy(self, haketilo_state: state.HaketiloState) -> WebUIPolicy:
- return WebUIPolicy(haketilo_state, self.ui_domain)
+ haketilo_settings = haketilo_state.get_settings()
+ return WebUIPolicy(haketilo_settings, haketilo_state, self.ui_domain)
@dc.dataclass(frozen=True, unsafe_hash=True)
class WebUIMainPolicyFactory(WebUIPolicyFactory):