Browse Source

更改姓名

lichunlei 1 year ago
parent
commit
2365bb315e
2 changed files with 6 additions and 6 deletions
  1. 5 5
      Startup.cs
  2. 1 1
      Views/Home/Index.cshtml

+ 5 - 5
Startup.cs

@@ -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"]),

+ 1 - 1
Views/Home/Index.cshtml

@@ -1 +1 @@
-<h2>客小爽AP1</h2>
+<h2>码牌SP</h2>