From 6c91e53be0e1fa75b1f1569353f18a2ffb182686 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Thu, 25 Sep 2025 01:22:07 +0300 Subject: Update api servers --- src/api.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/api.rs') 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 { ), servers( ( - url = "http://localhost:{port}/", + url = "http://{host}:{port}/", description = "Local server", - variables(("port" = (default = "8888", description="Server port"))) + variables( + ("host" = (default = "localhost", description="Server host")), + ("port" = (default = "8888", description="Server port")) + ) ), (url = "https://очередь.псж.онлайн/api/v1/", description = "Production server"), ), -- cgit v1.2.3