Skip to content

Commit c4fd97f

Browse files
committed
Edited Program.cs to use static files from wwwroot
1 parent 20f4cb1 commit c4fd97f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
if (!Directory.Exists(thumbnailsPath))
2121
Directory.CreateDirectory(thumbnailsPath);
2222

23+
app.UseStaticFiles();
2324
app.UseStaticFiles(new StaticFileOptions()
2425
{
2526
FileProvider = new PhysicalFileProvider(thumbnailsPath),

0 commit comments

Comments
 (0)