Skip to content

Commit 2dd0e09

Browse files
committed
readme
1 parent 29f6842 commit 2dd0e09

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ Default mode connection:
208208
// Startup.cs
209209
services.AddFileSystemStorageAsDefault(opt =>
210210
{
211-
opt.CommonPath = Path.Combine(Environment.CurrentDirectory, "{YOUR_BUCKET_NAME}");
212-
opt.Path = "{YOUR_BUCKET_NAME}";
211+
opt.BaseFolder = Path.Combine(Environment.CurrentDirectory, "{YOUR_BUCKET_NAME}");
213212
});
214213
```
215214
Using in default mode:
@@ -230,8 +229,7 @@ Provider-specific mode connection:
230229
// Startup.cs
231230
services.AddFileSystemStorage(new FileSystemStorageOptions
232231
{
233-
CommonPath = Path.Combine(Environment.CurrentDirectory, "{YOUR_BUCKET_NAME}"),
234-
Path = "{YOUR_BUCKET_NAME}"
232+
BaseFolder = Path.Combine(Environment.CurrentDirectory, "{YOUR_BUCKET_NAME}"),
235233
});
236234
```
237235
Using in provider-specific mode

0 commit comments

Comments
 (0)