aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/policies
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-12 14:33:15 +0200
committerWojtek Kosior <koszko@koszko.org>2022-08-12 14:33:15 +0200
commit2c98d04e4d4a344dc04a481b039a235678f7848e (patch)
tree292b858fa07613c3c455961f17adf33e64db92e8 /src/hydrilla/proxy/policies
parent3d025bfb796d3028282bc806d557b8289a42062b (diff)
downloadhaketilo-hydrilla-2c98d04e4d4a344dc04a481b039a235678f7848e.tar.gz
haketilo-hydrilla-2c98d04e4d4a344dc04a481b039a235678f7848e.zip
make Haketilo proxy web UI in terms of a Flask app
Diffstat (limited to 'src/hydrilla/proxy/policies')
-rw-r--r--src/hydrilla/proxy/policies/web_ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/policies/web_ui.py b/src/hydrilla/proxy/policies/web_ui.py
index 5040278..6fbb4aa 100644
--- a/src/hydrilla/proxy/policies/web_ui.py
+++ b/src/hydrilla/proxy/policies/web_ui.py
@@ -52,7 +52,7 @@ class WebUIPolicy(base.Policy):
def consume_request(self, request_info: http_messages.RequestInfo) \
-> http_messages.ProducedResponse:
- return web_ui.respond(request_info, self.haketilo_state)
+ return web_ui.process_request(request_info, self.haketilo_state)
@dc.dataclass(frozen=True, unsafe_hash=True)