feat: change files endpoint to raw for compliance
This commit is contained in:
parent
456dc6856d
commit
4bba0d2600
2
abyss.go
2
abyss.go
@ -99,5 +99,5 @@ func setupHandlers(mux *http.ServeMux, app *Application) {
|
|||||||
|
|
||||||
mux.HandleFunc("/token", BasicAuth(app.createTokenHandler, app))
|
mux.HandleFunc("/token", BasicAuth(app.createTokenHandler, app))
|
||||||
|
|
||||||
mux.HandleFunc("/files/", app.fileHandler)
|
mux.HandleFunc("/raw/", app.fileHandler)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user