diff --git a/gitea/.env.example b/gitea/.env.example index 4a9c59d..e9f7502 100644 --- a/gitea/.env.example +++ b/gitea/.env.example @@ -4,4 +4,4 @@ RUNNER_TOKEN=change_me EMAIL_FROM=gitea@pivoine.art EMAIL_USER=Gitea UMAMI_SRC=https://umami.example.com/script.js -UMAMI_ID= +UMAMI_SCRIPT= diff --git a/gitea/compose.yml b/gitea/compose.yml index a509349..a891513 100644 --- a/gitea/compose.yml +++ b/gitea/compose.yml @@ -37,7 +37,7 @@ services: GITEA__ui__DEFAULT_THEME: nord GITEA__ui__ENABLE_FEED: "true" UMAMI_SRC: ${UMAMI_SRC} - UMAMI_ID: ${UMAMI_ID} + UMAMI_SCRIPT: ${UMAMI_SCRIPT} ports: - "2222:2222" volumes: diff --git a/gitea/templates/custom/header.tmpl b/gitea/templates/custom/header.tmpl index 3e40ed0..d58942d 100644 --- a/gitea/templates/custom/header.tmpl +++ b/gitea/templates/custom/header.tmpl @@ -1,3 +1,3 @@ {{if and (eq .RunMode "prod") (not .IsSigned)}} - + {{end}}