diff --git a/prusa/link/multi_instance/web.py b/prusa/link/multi_instance/web.py index 453f7b1d..a9c95814 100644 --- a/prusa/link/multi_instance/web.py +++ b/prusa/link/multi_instance/web.py @@ -158,7 +158,8 @@ def file_data_generator(file_like, length): @app.route(r'//', method=METHOD_ALL) -def proxy(req, printer_number, path, use_proxy_headers=True): +@app.route(r'/', method=METHOD_ALL) +def proxy(req, printer_number, path="/", use_proxy_headers=True): """A reverse proxy to pass requests to IP/number to IP:printer_port @param use_proxy_headers: When re-directing to a single instance,