diff options
| author | Tolmachev Igor <me@igorek.dev> | 2025-09-25 01:22:07 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2025-09-25 01:22:07 +0300 |
| commit | 6c91e53be0e1fa75b1f1569353f18a2ffb182686 (patch) | |
| tree | d6f6f4c6cdb8ffae23eaea56fb0d08dfaff4db4a /src/api.rs | |
| parent | 67e5ecee5107179d7aa885a737ce521aef755a6b (diff) | |
| download | queue_server-6c91e53be0e1fa75b1f1569353f18a2ffb182686.tar.gz queue_server-6c91e53be0e1fa75b1f1569353f18a2ffb182686.zip | |
Update api servers
Diffstat (limited to 'src/api.rs')
| -rw-r--r-- | src/api.rs | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -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 | ), |
