Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 25f0c570f1 |
@@ -19,7 +19,6 @@ public static class ViteProxyApplicationBuilderExtensions
|
|||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
|
||||||
app.UseStaticFiles();
|
|
||||||
app.UseStaticFiles(new StaticFileOptions
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
{
|
{
|
||||||
FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, workingDirectory))
|
FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, workingDirectory))
|
||||||
@@ -38,7 +37,6 @@ public static class ViteProxyApplicationBuilderExtensions
|
|||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
|
||||||
app.UseStaticFiles();
|
|
||||||
app.UseStaticFiles(new StaticFileOptions
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
{
|
{
|
||||||
FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, path))
|
FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, path))
|
||||||
|
|||||||
Reference in New Issue
Block a user