mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 00:55:51 +08:00
fix (status): wrong http status in app manifest
This commit is contained in:
@ -168,7 +168,7 @@ func AboutHandler(ctx *App, res http.ResponseWriter, req *http.Request) {
|
||||
}
|
||||
|
||||
func ManifestHandler(ctx *App, res http.ResponseWriter, req *http.Request) {
|
||||
res.WriteHeader(http.StatusFound)
|
||||
res.WriteHeader(http.StatusOK)
|
||||
res.Write([]byte(fmt.Sprintf(`{
|
||||
"name": "%s",
|
||||
"short_name": "%s",
|
||||
|
||||
Reference in New Issue
Block a user