diff options
| -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 | ), |
