1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-06-21 04:57:01 -04:00

inital source for january :3

This commit is contained in:
Ashley 2023-12-10 10:29:22 +00:00
parent 84ad874a2b
commit 365a6c1009
4 changed files with 200 additions and 0 deletions

View file

@ -0,0 +1,9 @@
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.");
}