Address Brother QL printer by URL path instead of session cookie
deploy / deploy (push) Successful in 9s
deploy / deploy (push) Successful in 9s
Drops /brother/select and the session-based "active printer" state: the printer key now lives in the path (/brother/<printer>/*), so the proxy is stateless and any path under it -- including brother_ql_web's API, not just its UI -- is reachable without a prior "activation" step.
This commit is contained in:
1 parent
776f7fdd5a
commit
5c06f725f0
4 files changed
+13
-34
No files matched your search
+2
-2
@@ -10,8 +10,8 @@ Unified UI for printing labels/stickers:
|
||||
* `/` -- upload a PDF and print it (ZPL)
|
||||
* `/upload` -- upload form
|
||||
* `/test-print` -- print the bundled test label
|
||||
* `/brother` -- pick which Brother QL printer to proxy to
|
||||
* `/brother/select` -- switch the active Brother QL printer
|
||||
* `/brother` -- list of Brother QL printers
|
||||
* `/brother/<printer>/*` -- proxied to that printer's brother_ql_web instance (UI and API alike)
|
||||
|
||||
== Running
|
||||
|
||||
|
||||
Reference in new issue
Block a user