Skip to content

Commit 4e2a8fd

Browse files
Added back reo script
1 parent 40d133e commit 4e2a8fd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ const config = {
4343
},
4444
innerHTML: 'function OptanonWrapper() {}',
4545
},
46+
{
47+
tagName: 'script',
48+
attributes: {},
49+
innerHTML: `!function(){var e,t,n;e="${process.env.REO_CLIENT_ID}",t=function(){Reo.init({clientID:"${process.env.REO_CLIENT_ID}"})},(n=document.createElement("script")).src="https://static.reo.dev/"+e+"/reo.js",n.async=!0,n.onload=t,document.head.appendChild(n)}();`,
50+
},
4651
],
4752

4853
// Even if you don't use internationalization, you can use this field to set

0 commit comments

Comments
 (0)