фикс небольшого обосрамса
This commit is contained in:
parent
db53a8bd90
commit
5a8a0987a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user