mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
initial v0.8 pre-release
This commit is contained in:
1 parent
9cbb2e750e
commit
90dba45d7c
388 files changed
+21574
-13597
No files matched your search
@@ -35,7 +35,7 @@ func main() {
|
||||
|
||||
app.OnBeforeServe().Add(func(e *core.ServeEvent) error {
|
||||
// serves static files from the provided public dir (if exists)
|
||||
e.Router.GET("/*", apis.StaticDirectoryHandler(os.DirFS(publicDirFlag), false))
|
||||
e.Router.GET("/*", apis.StaticDirectoryHandler(os.DirFS(publicDirFlag), true))
|
||||
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user