Add basic info page

This commit is contained in:
asonix
2020-03-19 23:06:16 -05:00
parent c9bb5632b8
commit 7538041b67
3 changed files with 46 additions and 37 deletions
+4
View File
@@ -96,6 +96,10 @@ impl Config {
"v0.1.0-master".to_owned()
}
pub fn source_code(&self) -> String {
"https://git.asonix.dog/asonix/ap-relay".to_owned()
}
pub fn generate_url(&self, kind: UrlKind) -> String {
let scheme = if self.https { "https" } else { "http" };