9afc4d4efb
updated pocketbase
22 lines
754 B
Diff
22 lines
754 B
Diff
diff --git a/examples/base/main.go b/examples/base/main.go
|
|
index 908d31d..04b8f1d 100644
|
|
--- a/examples/base/main.go
|
|
+++ b/examples/base/main.go
|
|
@@ -10,7 +10,6 @@ import (
|
|
"github.com/pocketbase/pocketbase"
|
|
"github.com/pocketbase/pocketbase/apis"
|
|
"github.com/pocketbase/pocketbase/core"
|
|
- "github.com/pocketbase/pocketbase/plugins/ghupdate"
|
|
"github.com/pocketbase/pocketbase/plugins/jsvm"
|
|
"github.com/pocketbase/pocketbase/plugins/migratecmd"
|
|
)
|
|
@@ -80,9 +79,6 @@ func main() {
|
|
Dir: migrationsDir,
|
|
})
|
|
|
|
- // GitHub selfupdate
|
|
- ghupdate.MustRegister(app, app.RootCmd, nil)
|
|
-
|
|
app.OnAfterBootstrap().Add(func(e *core.BootstrapEvent) error {
|
|
app.Dao().ModelQueryTimeout = time.Duration(queryTimeout) * time.Second
|
|
return nil
|