diff --git a/Caddyfile b/Caddyfile index 68ecd78..f0916ce 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,4 +1,4 @@ -http://:8000 +http://:8000 #!PROD-SNIP # super secret sticker on my laptop # todo make actual nice link redirector service diff --git a/flake.nix b/flake.nix index e22f6c8..eeb995a 100644 --- a/flake.nix +++ b/flake.nix @@ -160,7 +160,7 @@ runHook preBuild sed -i \ - "s|./src/|${websitePath}/var/www/|;1d" \ + "s|./src/|${websitePath}/var/www/|;/#!PROD-SNIP$/d" \ Caddyfile cat >> Caddyfile <