Skip to content

Commit a39cbe2

Browse files
Merge pull request #1875 from appwrite/revops-snippet
add reo for revops team
2 parents bdd6a75 + 6696fad commit a39cbe2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/hooks.server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const securityheaders: Handle = async ({ event, resolve }) => {
5353
"'unsafe-eval'",
5454
'https://*.posthog.com',
5555
'https://*.plausible.io',
56+
'https://*.reo.dev',
5657
'https://plausible.io',
5758
'https://js.zi-scripts.com',
5859
'https://ws.zoominfo.com'
@@ -74,6 +75,7 @@ const securityheaders: Handle = async ({ event, resolve }) => {
7475
'https://*.sentry.io',
7576
'https://*.plausible.io',
7677
'https://plausible.io',
78+
'https://*.reo.dev',
7779
'https://js.zi-scripts.com',
7880
'https://aorta.clickagy.com',
7981
'https://hemsync.clickagy.com',

src/routes/+layout.svelte

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,22 @@
178178
document.body.appendChild(zi);
179179
});
180180
</script>
181+
182+
<!-- Reo.dev -->
183+
<script type="text/javascript">
184+
!(function () {
185+
var e, t, n;
186+
(e = '144fa7eaa4904e8'),
187+
(t = function () {
188+
Reo.init({ clientID: '144fa7eaa4904e8' });
189+
}),
190+
((n = document.createElement('script')).src =
191+
'https://static.reo.dev/' + e + '/reo.js'),
192+
(n.defer = !0),
193+
(n.onload = t),
194+
document.head.appendChild(n);
195+
})();
196+
</script>
181197
{/if}
182198

183199
<!-- canonical url -->

0 commit comments

Comments
 (0)