KIM-JINO5 4 months ago
parent
commit
42d4efb319
2 changed files with 2 additions and 3 deletions
  1. 0 1
      Program.cs
  2. 2 2
      Views/Shared/_Layout.cshtml

+ 0 - 1
Program.cs

@@ -25,7 +25,6 @@ if (!app.Environment.IsDevelopment())
 
 app.UseHttpsRedirection();
 app.UseStaticFiles();
-app.UsePathBase("/goods");
 
 app.UseRouting();
 

+ 2 - 2
Views/Shared/_Layout.cshtml

@@ -126,8 +126,8 @@
         </main>
     </div>
     
-    <script src="~/lib/jquery/dist/jquery.min.js"></script>
-    <script src="~/js/site.js" asp-append-version="true"></script>
+    <script src="@Url.Content("~/lib/jquery/dist/jquery.min.js")"></script>
+    <script src="@Url.Content("~/js/site.js")" asp-append-version="true"></script>
 
     @await RenderSectionAsync("Scripts", required: false)
 </body>