1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-30 17:15:36 +02:00

updated go deps and use the new fileblob NoTempDir option

This commit is contained in:
Gani Georgiev
2023-08-26 10:37:12 +03:00
parent 18728732b9
commit 0dc263a40c
3 changed files with 88 additions and 90 deletions

View File

@@ -74,7 +74,9 @@ func NewLocal(dirPath string) (*System, error) {
return nil, err
}
bucket, err := fileblob.OpenBucket(dirPath, nil)
bucket, err := fileblob.OpenBucket(dirPath, &fileblob.Options{
NoTempDir: true,
})
if err != nil {
return nil, err
}