reverse proxied api url
This commit is contained in:
parent
3123cad1a5
commit
78d347f38e
|
@ -26,7 +26,7 @@ pub mod vehicles;
|
||||||
pub mod cli;
|
pub mod cli;
|
||||||
|
|
||||||
const API_URL: &str = if cfg!(debug_assertions) {
|
const API_URL: &str = if cfg!(debug_assertions) {
|
||||||
"https://cnut:4443/api/1"
|
"http://cnut.internal.alexjanka.com:4444/api/1"
|
||||||
} else {
|
} else {
|
||||||
"https://localhost:4443/api/1"
|
"https://localhost:4443/api/1"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue