diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-12 14:33:15 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-08-12 14:33:15 +0200 |
commit | 2c98d04e4d4a344dc04a481b039a235678f7848e (patch) | |
tree | 292b858fa07613c3c455961f17adf33e64db92e8 /src/hydrilla/proxy/policies | |
parent | 3d025bfb796d3028282bc806d557b8289a42062b (diff) | |
download | haketilo-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.py | 2 |
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) |