李昊 4 years ago
parent
commit
8a59b239f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gx_api/GxPress/Api/GxPress.Api/Startup.cs

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/Startup.cs

@@ -127,7 +127,7 @@ namespace GxPress.Api
             {
                 FileProvider = new PhysicalFileProvider(
             Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")),
-                RequestPath = "/MyImages",
+                RequestPath = "/",
                 ContentTypeProvider = provider
             });
             app.UseDirectoryBrowser(new DirectoryBrowserOptions