Skip to content

Commit

Permalink
fix CaddyFile
Browse files Browse the repository at this point in the history
Signed-off-by: Sukanya Rath <[email protected]>
  • Loading branch information
sukanya-rath committed May 1, 2024
1 parent 2348d20 commit 2c2480e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
header {
Content-Type text/javascript
}
respond `// <!-- Snowplow starts plowing - Standalone vE.2.14.0 -->
respond "// <!-- Snowplow starts plowing - Standalone vE.2.14.0 -->
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","https://www2.gov.bc.ca/StaticWebResources/static/sp/sp-2-14-0.js","snowplow"));
window.snowplow('newTracker','rt','{$SNOWPLOW_URL}', {
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,'script','https://www2.gov.bc.ca/StaticWebResources/static/sp/sp-2-14-0.js','snowplow'));
window.snowplow('newTracker','rt','{$SNOWPLOW_URL}', {
appId: 'Snowplow_standalone',
cookieLifetime: 86400 * 548,
platform: 'web',
Expand All @@ -37,7 +37,7 @@
window.snowplow('enableActivityTracking', 30, 30); // Ping every 30 seconds after 30 seconds
window.snowplow('enableLinkClickTracking');
window.snowplow('trackPageView');
// <!-- Snowplow stops plowing -->`
// <!-- Snowplow stops plowing -->"
}
root * /app/dist
encode zstd gzip
Expand Down

0 comments on commit 2c2480e

Please sign in to comment.