diff options
| author | tjp <tjp@ctrl-c.club> | 2023-11-14 21:50:15 -0700 |
|---|---|---|
| committer | tjp <tjp@ctrl-c.club> | 2023-11-14 21:50:15 -0700 |
| commit | 7baecfca55527dc82499686c29ee59ae8c4b972e (patch) | |
| tree | 8e9d299c204bd195c7c544f3f638b35e49af5b7a /parse.go | |
| parent | b081308884cb01d235336c900f65dc0a638f08c8 (diff) | |
add support for syw git views on nexv1.3.2
Diffstat (limited to 'parse.go')
| -rw-r--r-- | parse.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -326,10 +326,6 @@ func validateRoute(serverType string, dir *RouteDirective) error { return errors.New("cgi directives only support the 'extendedgophermap' modifier") } - if dir.Type == "git" && serverType != "gemini" && serverType != "gopher" && serverType != "spartan" { - return fmt.Errorf("git directive not allowed in %s server", serverType) - } - if serverType == "finger" && (dir.Modifiers.DirDefault != "" || dir.Modifiers.DirList) { return errors.New("finger servers don't support directory 'with' modifiers") } |
