reverse proxied api url

This commit is contained in:
Alex Janka 2024-01-06 17:26:49 +11:00
parent 3123cad1a5
commit 78d347f38e

View file

@ -26,7 +26,7 @@ pub mod vehicles;
pub mod cli;
const API_URL: &str = if cfg!(debug_assertions) {
"https://cnut:4443/api/1"
"http://cnut.internal.alexjanka.com:4444/api/1"
} else {
"https://localhost:4443/api/1"
};