From 8899fcfbb665aba4a19513ea48ec16b27b705579 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 26 Jan 2021 00:31:35 +0100 Subject: patches to remove googletagmanager and change default map --- front/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/front/default.nix b/front/default.nix index 43eb919..6a0f087 100644 --- a/front/default.nix +++ b/front/default.nix @@ -40,6 +40,7 @@ in yarn2nix-moretea.mkYarnPackage (rec { sha256 = "0wwgfrcrpimpxjhk073yxlkcp1p0bn0glxd9wisyq5kv8s7jw1yz"; } + "/front"; + # NOTE: this is optional and generated dynamically if omitted yarnNix = ./yarn.nix; @@ -47,6 +48,15 @@ in yarn2nix-moretea.mkYarnPackage (rec { dontStrip = true; + + # can't currently change stun server as chaski.stuebinm.eu doesn't seem to work? +# find . -name '*.ts' -exec sed -i "s/urls: 'stun:stun.l.google.com:19302'/url: 'chaski.stuebinm.eu:3478',credential:'chaski',username:'chaski'/g" {} + + patchPhase = '' + # remove google tag manager + find . -name '*.html' -exec sed -i "s/