From 77cec015b18a321108a2525dff1b1fd80c751f3c Mon Sep 17 00:00:00 2001 From: endernon Date: Fri, 14 Jun 2024 23:24:23 +0100 Subject: [PATCH] documentation refactoring or smth --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) 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};