mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit 22bc4250edcbc7bb4e7ce31801a2a5f937061ec8
parent d63f34477fd3fb71d5321360811985233c6207e6
Author: Johann150 <johann.galle@protonmail.com>
Date:   Sun, 14 Mar 2021 19:00:43 +0100

port numbers are u16

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -13,7 +13,7 @@ use tide::Request; #[derive(Deserialize, Debug)] pub struct Config { - port: i32, // should be u8 + port: u16, repo_directory: String, emoji_favicon: String, }