You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/fundamentals/static-files.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ An alternative approach to serve files based on authorization:
113
113
114
114
Directory browsing allows directory listing within specified directories.
115
115
116
-
Directory browsing is disabled by default for security reasons. For more information, see [Considerations](#sc).
116
+
Directory browsing is disabled by default for security reasons. For more information, see [Considerations](#considerations).
117
117
118
118
Enable directory browsing with:
119
119
@@ -349,7 +349,7 @@ The Static File Middleware doesn't provide authorization checks. Any files serve
349
349
350
350
## Enable directory browsing
351
351
352
-
Directory browsing allows users of your web app to see a directory listing and files within a specified directory. Directory browsing is disabled by default for security reasons (see [Considerations](#sc)). Enable directory browsing by invoking the <xref:Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions.UseDirectoryBrowser%2A> method in `Startup.Configure`:
352
+
Directory browsing allows users of your web app to see a directory listing and files within a specified directory. Directory browsing is disabled by default for security reasons (see [Considerations](#considerations)). Enable directory browsing by invoking the <xref:Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions.UseDirectoryBrowser%2A> method in `Startup.Configure`:
0 commit comments