mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-02-09 17:15:07 +01:00
@@ -19,8 +19,8 @@ import (
|
||||
)
|
||||
|
||||
func pathToKind(path string) (int, error) {
|
||||
splittedPath := strings.Split(path, ".")
|
||||
ex := splittedPath[len(splittedPath)-1]
|
||||
separatedPath := strings.Split(path, ".")
|
||||
ex := separatedPath[len(separatedPath)-1]
|
||||
switch ex {
|
||||
case "html":
|
||||
return consts.KindWebhostHTML, nil
|
||||
|
||||
Reference in New Issue
Block a user