фикс небольшого обосрамса

This commit is contained in:
lost+skunk 2024-09-03 16:14:19 +03:00
parent db53a8bd90
commit 5a8a0987a2

View File

@ -13,9 +13,10 @@ var Host, Path string
func Router() {
parsepath := func(path string) map[int]string {
path = "/"
if l := len(CFG.URI); len(path) > l {
path = path[l-1:]
} else {
path = "/"
}
parsedpath := make(map[int]string)