documentation refactoring or smth
This commit is contained in:
parent
c38a5b634c
commit
77cec015b1
1 changed files with 8 additions and 0 deletions
|
@ -7,11 +7,19 @@
|
||||||
// TO EDIT FONT: //
|
// TO EDIT FONT: //
|
||||||
// - Add your font to root dir //
|
// - Add your font to root dir //
|
||||||
// - edit const FONTFILENAME //
|
// - 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";
|
const IPADDRESS: &str = "0.0.0.0";
|
||||||
|
|
||||||
|
/// the configurable port
|
||||||
const PORT: &str = "8081";
|
const PORT: &str = "8081";
|
||||||
|
|
||||||
|
/// the configurable fontname (put it in ipimg/{FONTNAME})
|
||||||
const FONTFILENAME: &str = "Roboto-Regular.ttf";
|
const FONTFILENAME: &str = "Roboto-Regular.ttf";
|
||||||
|
|
||||||
use std::{io::Cursor, net::SocketAddr, fs};
|
use std::{io::Cursor, net::SocketAddr, fs};
|
||||||
|
|
Loading…
Reference in a new issue