mirror of
https://codeberg.org/ashley/poke.git
synced 2025-01-19 04:03:34 -05:00
9 lines
359 B
Rust
9 lines
359 B
Rust
use std::env;
|
|
|
|
lazy_static! {
|
|
// Application Settings
|
|
pub static ref HOST: String =
|
|
env::var("JANUARY_HOST").expect("Missing JANUARY_HOST environment variable.");
|
|
pub static ref MAX_BYTES: usize =
|
|
env::var("JANUARY_MAX_BYTES").unwrap_or("104857600".to_string()).parse().expect("Invalid JANUARY_MAX_BYTES environment variable.");
|
|
}
|