reverse proxied api url

This commit is contained in:
Alex Janka 2024-01-06 17:26:49 +11:00
parent 2735f59b3f
commit ca778af269

View file

@ -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"
}; };