mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
chore (maintenance): maintain plg_editor_onlyoffice
This commit is contained in:
@@ -176,7 +176,7 @@ func init() {
|
||||
can_print()
|
||||
})
|
||||
|
||||
Hooks.Register.HttpEndpoint(func(r *mux.Router, app *App) error {
|
||||
Hooks.Register.HttpEndpoint(func(r *mux.Router) error {
|
||||
oods := r.PathPrefix("/onlyoffice").Subrouter()
|
||||
oods.PathPrefix("/static/").HandlerFunc(StaticHandler).Methods("GET", "POST")
|
||||
oods.HandleFunc("/event", OnlyOfficeEventHandler).Methods("POST")
|
||||
|
||||
Reference in New Issue
Block a user