From dbdea242909a840acb58e2be728311b6afe1acd8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 18 Oct 2021 17:37:10 +0200 Subject: [PATCH] website: remove .git suffix for go import Signed-off-by: Jens Langhammer --- website/netlify/functions/go-get.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/netlify/functions/go-get.js b/website/netlify/functions/go-get.js index c1dbe3471..7f69cb133 100644 --- a/website/netlify/functions/go-get.js +++ b/website/netlify/functions/go-get.js @@ -1,16 +1,16 @@ -const gitHubNamespace = "goauthentik.io"; +const gitHubNamespace = "goauthentik"; exports.handler = async function (event, context) { let repo = ""; switch (event.path) { case "/": - repo = "/authentik.git"; + repo = "/authentik"; break; case "/api": - repo = "/client-go.git"; + repo = "/client-go"; break; default: - repo = `${event.path}.git`; + repo = event.path; break; } return {