From 040bb45cfd2893f3e5e6377fc9a16ca047c3b6d0 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:31:48 +0000 Subject: [PATCH] Latest --- .../universal/run_onchange_after_97-cloudflare.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl index 9c02d385..35123200 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_97-cloudflare.sh.tmpl @@ -233,7 +233,7 @@ fi {{- $registrationToken := "" }} {{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}} -{{- $registrationToken := (includeTemplate (joinPath "cloudflared" .host.hostname) | decrypt) -}} +{{- $registrationToken := (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}} {{- end }} ### Set up CloudFlare tunnels if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ]; then