李昊 %!s(int64=5) %!d(string=hai) anos
pai
achega
f15141f17e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      gx_api/GxPress/Api/GxPress.Api/Startup.cs

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

@@ -122,13 +122,13 @@ namespace GxPress.Api
             {
                 FileProvider = new PhysicalFileProvider(
             Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")),
-                RequestPath = "/MyImages"
+                RequestPath = "/wwwroot"
             });
             app.UseDirectoryBrowser(new DirectoryBrowserOptions
             {
                 FileProvider = new PhysicalFileProvider(
             Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")),
-                RequestPath = "/MyImages"
+                RequestPath = "/wwwroot"
             });
             app.UseCors("AllowAny");
             app.UseSwashbuckle();