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