aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ),