reverse proxied api url
This commit is contained in:
parent
2735f59b3f
commit
ca778af269
|
@ -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