mirror of
https://codeberg.org/ashley/poke.git
synced 2025-01-19 07:23:33 -05:00
10 lines
359 B
Rust
10 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.");
|
||
|
}
|