Skip to content

Commit

Permalink
Move to GitStaticAssets
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-Anderson committed Jul 11, 2024
1 parent 1ac3e7e commit 5bfd4c9
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@

app.UseHttpsRedirection();

app.UseStaticFiles(new StaticFileOptions
{
FileProvider = new PhysicalFileProvider(
Path.Combine(builder.Environment.ContentRootPath, "MyStaticFiles")),
RequestPath = "/StaticFiles"
});
app.UseStaticFiles(new StaticFileOptions //
{
FileProvider = new PhysicalFileProvider(
Path.Combine(builder.Environment.ContentRootPath, "MyStaticFiles")),
RequestPath = "/StaticFiles"
});

app.UseAuthorization();

Expand Down

0 comments on commit 5bfd4c9

Please sign in to comment.