|
@@ -114,11 +114,11 @@ namespace MySystem
|
|
|
Library.function.WritePage("/", "WebRootPath.txt", env.WebRootPath);
|
|
|
|
|
|
app.UseStaticFiles();
|
|
|
- app.UseStaticFiles(new StaticFileOptions
|
|
|
- {
|
|
|
- FileProvider = new PhysicalFileProvider(AppContext.BaseDirectory + "/static"),
|
|
|
- RequestPath = "/static"
|
|
|
- });
|
|
|
+ // app.UseStaticFiles(new StaticFileOptions
|
|
|
+ // {
|
|
|
+ // FileProvider = new PhysicalFileProvider(AppContext.BaseDirectory + "/static"),
|
|
|
+ // RequestPath = "/static"
|
|
|
+ // });
|
|
|
// app.UseStaticFiles(new StaticFileOptions
|
|
|
// {
|
|
|
// FileProvider = new PhysicalFileProvider(AppContext.BaseDirectory + "/" + Configuration["Setting:Database"]),
|