mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-10 16:27:26 +02:00
returned OnAfterBootstrap error and added more jsvm tests
This commit is contained in:
1 parent
d0a68da7e7
commit
6fe04bd280
6 files changed
+26837
-3165
No files matched your search
@@ -36,6 +36,8 @@ type ServeConfig struct {
|
||||
AllowedOrigins []string
|
||||
}
|
||||
|
||||
// @todo return the server instance to allow manual shutdowns
|
||||
//
|
||||
// Serve starts a new app web server.
|
||||
func Serve(app core.App, config ServeConfig) error {
|
||||
if len(config.AllowedOrigins) == 0 {
|
||||
|
||||
Reference in new issue
Block a user