added golang http url routing

This commit is contained in:
2024-04-14 16:06:32 +02:00
parent fd4d1b1ed7
commit a0269f37f8
9 changed files with 64 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ var color map[string]string = map[string]string{
"primary": "#211951",
}
var Gh_url string = "https://github.com/vaporvee/acecore/blob/main/"
const Gh_url string = "https://github.com/vaporvee/acecore/blob/main/"
func GetColor(s string) int {
hexColor := strings.TrimPrefix(color[s], "#")

1
custom/privacy.html Symbolic link
View File

@@ -0,0 +1 @@
web/html/privacy.html

1
custom/tos.html Symbolic link
View File

@@ -0,0 +1 @@
web/html/tos.html