This commit is contained in:
Bel LaPointe
2022-02-16 11:59:35 -07:00

View File

@@ -49,7 +49,7 @@ func TestServerRoutes(t *testing.T) {
"v0: /: get": {
path: "/",
method: http.MethodGet,
want: "Moved",
want: "/ui/files/",
},
"v0: search: get": {
path: "/api/v0/search?q=getf%20bod",
@@ -96,17 +96,17 @@ func TestServerRoutes(t *testing.T) {
"v0: /: redir": {
path: "/",
method: http.MethodGet,
want: "Moved",
want: "/ui/files/",
},
"v0: /ui/: redir": {
path: "/ui/",
method: http.MethodGet,
want: "Moved",
want: "/ui/files/",
},
"v0: /ui: redir": {
path: "/ui",
method: http.MethodGet,
want: "Moved",
want: "/ui/files/",
},
"v0: /ui/search": {
path: "/ui/search",