From d7be2e9ac34ecb6ca14f43a922e8ce8c8feaae7c Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Fri, 6 Sep 2024 19:50:28 +0200 Subject: [PATCH] change image name --- .gitea/workflows/release.yaml | 2 +- main.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index f4bb836..00f8f7a 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest container: ghcr.io/catthehacker/ubuntu:act-latest env: - IMAGE_NAME: goredire + IMAGE_NAME: goredir REGISTRY: git.mziesel.nl REPO_OWNER: mans steps: diff --git a/main.go b/main.go index 6a9cfe7..4ce7652 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ func greet(w http.ResponseWriter, r *http.Request) { if !strings.HasSuffix(r.Host, "mzsl.nl") { w.WriteHeader(http.StatusNotFound) w.Write([]byte("404, url not found")) + fmt.Printf("Host: %s not found\n", r.Host) return }