diff options
Diffstat (limited to 'src-tauri/src')
-rw-r--r-- | src-tauri/src/constants.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs index 4cc3c204..79c93f61 100644 --- a/src-tauri/src/constants.rs +++ b/src-tauri/src/constants.rs @@ -1,6 +1,9 @@ // This file stores various global constants values -pub const APP_USER_AGENT: &str = "R2NorthstarTools/FlightCore"; +use const_format::concatcp; + +// FlightCore user agent for web requests +pub const APP_USER_AGENT: &str = concatcp!("FlightCore/", env!("CARGO_PKG_VERSION")); // URL of the Northstar masterserver pub const MASTER_SERVER_URL: &str = "https://northstar.tf"; |