chore (maintenance): maintain plg_editor_onlyoffice

This commit is contained in:
MickaelK
2026-05-01 17:36:24 +10:00
parent a2f8dbbbbf
commit f33201effc
+1 -1
View File
@@ -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")