From 0de5edca6e80ad4300890328a9b583d4ec868a3f Mon Sep 17 00:00:00 2001 From: Slendy Date: Mon, 30 Oct 2023 03:22:48 -0500 Subject: [PATCH] Fix link generation for source code footer link --- .../Pages/Layouts/BaseLayout.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml index 1f6ce65a..5de98aa3 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml @@ -212,7 +212,8 @@ · @if (!string.IsNullOrWhiteSpace(remoteUrl)) { - + if (!remoteUrl.StartsWith("https://")) remoteUrl = $"https://{remoteUrl}"; + Source Code }