From 0c2d4b9d5eed27ed2733dc6f373d5265fa87c085 Mon Sep 17 00:00:00 2001 From: Neutrino Date: Thu, 7 Oct 2021 20:24:48 +0100 Subject: [PATCH] Update app.js Fixed a bug that caused the website to fail to load correctly when hosted in a Linux container. This was caused by the path to the TodoList.html file using the wrong case. --- wwwroot/app/scripts/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/app/scripts/app.js b/wwwroot/app/scripts/app.js index f68f3bf9..0c98b7ed 100644 --- a/wwwroot/app/scripts/app.js +++ b/wwwroot/app/scripts/app.js @@ -10,7 +10,7 @@ angular.module('todoApp', ['ngRoute']) $routeProvider.when("/Home", { controller: "todoListCtrl", - templateUrl: "/App/Views/TodoList.html", + templateUrl: "/app/views/TodoList.html", }).otherwise({ redirectTo: "/Home" }); - }]); \ No newline at end of file + }]);