mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 15:27:27 +02:00
set an id for the UI extensions hook to allow rebinding
This commit is contained in:
1 parent
6ffc1b2078
commit
be327b212b
1 file changed
+1
@@ -23,6 +23,7 @@ func bindUIExtensions(app core.App) {
|
||||
|
||||
app.OnServe().Bind(&hook.Handler[*core.ServeEvent]{
|
||||
Priority: 9999, // execute as latest as possible
|
||||
Id: "__pbUIExtensions__",
|
||||
Func: func(se *core.ServeEvent) error {
|
||||
uiGroup := se.Router.Group("/_").
|
||||
BindFunc(func(e *core.RequestEvent) error {
|
||||
|
||||
Reference in new issue
Block a user