master v0.1.1
Bel LaPointe 2022-02-16 11:59:35 -07:00
commit 8cd9a5d472
1 changed files with 4 additions and 4 deletions

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",