mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-04-02 09:55:23 +00:00
2.0.2
This commit is contained in:
@@ -5,12 +5,10 @@ lazy_static! {
|
||||
pub static ref VERSION: String = option_env!("CARGO_PKG_VERSION")
|
||||
.unwrap_or("Unknown")
|
||||
.to_string();
|
||||
pub static ref FRONTEND_PATH: String = option_env!("FRONTEND_PATH")
|
||||
.unwrap_or("../frontend/build")
|
||||
.to_string();
|
||||
pub static ref LISTEN_ADDR: String = option_env!("LISTEN_ADDR")
|
||||
.unwrap_or("0.0.0.0:5000")
|
||||
.to_string();
|
||||
pub static ref FRONTEND_PATH: String =
|
||||
std::env::var("FRONTEND_PATH").unwrap_or("../frontend/build".to_string());
|
||||
pub static ref LISTEN_ADDR: String =
|
||||
std::env::var("LISTEN_ADDR").unwrap_or("0.0.0.0:5000".to_string());
|
||||
}
|
||||
|
||||
// CONFIG
|
||||
|
||||
Reference in New Issue
Block a user