aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2025-09-25 01:22:07 +0300
committerTolmachev Igor <me@igorek.dev>2025-09-25 01:22:07 +0300
commit6c91e53be0e1fa75b1f1569353f18a2ffb182686 (patch)
treed6f6f4c6cdb8ffae23eaea56fb0d08dfaff4db4a
parent67e5ecee5107179d7aa885a737ce521aef755a6b (diff)
downloadqueue_server-6c91e53be0e1fa75b1f1569353f18a2ffb182686.tar.gz
queue_server-6c91e53be0e1fa75b1f1569353f18a2ffb182686.zip
Update api servers
-rw-r--r--src/api.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/api.rs b/src/api.rs
index 8a6d599..5c6813c 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -40,9 +40,12 @@ impl Modify for AuthModifier {
40 ), 40 ),
41 servers( 41 servers(
42 ( 42 (
43 url = "http://localhost:{port}/", 43 url = "http://{host}:{port}/",
44 description = "Local server", 44 description = "Local server",
45 variables(("port" = (default = "8888", description="Server port"))) 45 variables(
46 ("host" = (default = "localhost", description="Server host")),
47 ("port" = (default = "8888", description="Server port"))
48 )
46 ), 49 ),
47 (url = "https://очередь.псж.онлайн/api/v1/", description = "Production server"), 50 (url = "https://очередь.псж.онлайн/api/v1/", description = "Production server"),
48 ), 51 ),