From ab2793d92a85c044ef7e72c6510ab43943710bf1 Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Sun, 8 Jan 2023 15:07:13 -0800 Subject: [PATCH] =?UTF-8?q?Return=20403=20instead=20of=20the=20view=20if?= =?UTF-8?q?=20we=20can=E2=80=99t=20get=20a=20response=20out=20of=20netbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AS1024.CommunityDocumentationPage/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs b/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs index 17cd4ba..ed59390 100644 --- a/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs +++ b/AS1024.CommunityDocumentationPage/Controllers/HomeController.cs @@ -34,7 +34,7 @@ namespace AS1024.CommunityDocumentationPage.Controllers _logger.LogError($"Failed to obtain data\n{ex}"); } - return View(); + return Forbid(); } public IActionResult Privacy()