Merge branch 'master' of http://192.168.0.86:59515/bel/notea-de-me
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user