Skip to content

Commit c74f470

Browse files
committed
Removed unnecessary file.
Correct the example configuration for script path.
1 parent f1b2436 commit c74f470

2 files changed

Lines changed: 2 additions & 23 deletions

File tree

samples/KristofferStrube.Blazor.FileSystemAccess.WasmExample/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
builder.Services.AddFileSystemAccessServiceInProcess(options =>
1616
{
1717
// The file at this path in this example is manually copied to wwwroot folder
18-
// options.ScriptPath = $"/content/custom-path/{FileSystemAccessOptions.DefaultNamespace}.js";
18+
// options.BasePath = "content/";
19+
// options.ScriptPath = $"custom-path/{FileSystemAccessOptions.DefaultNamespace}.js";
1920
});
2021

2122
builder.Services.AddURLServiceInProcess();

samples/KristofferStrube.Blazor.FileSystemAccess.WasmExample/wwwroot/content/custom-path/KristofferStrube.Blazor.FileSystemAccess.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)