diff --git a/src/main.rs b/src/main.rs index 90dc9dc..28568c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,11 +7,19 @@ // TO EDIT FONT: // // - Add your font to root dir // // - edit const FONTFILENAME // +// - make sure however you're // +// running this, working dir // +// is set to the root // // // ///////////////////////////////////// +/// the configurable ip address const IPADDRESS: &str = "0.0.0.0"; + +/// the configurable port const PORT: &str = "8081"; + +/// the configurable fontname (put it in ipimg/{FONTNAME}) const FONTFILENAME: &str = "Roboto-Regular.ttf"; use std::{io::Cursor, net::SocketAddr, fs};