Skip to content

Commit b3921a2

Browse files
authored
feat: index.html에 채널톡 코드 추가 (#72)
1 parent cef7eed commit b3921a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.html

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
/>
4343
</head>
4444
<body>
45+
<script>
46+
(function(){var w=window;if(w.ChannelIO){return w.console.error("ChannelIO script included twice.");}var ch=function(){ch.c(arguments);};ch.q=[];ch.c=function(args){ch.q.push(args);};w.ChannelIO=ch;function l(){if(w.ChannelIOInitialized){return;}w.ChannelIOInitialized=true;var s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var x=document.getElementsByTagName("script")[0];if(x.parentNode){x.parentNode.insertBefore(s,x);}}if(document.readyState==="complete"){l();}else{w.addEventListener("DOMContentLoaded",l);w.addEventListener("load",l);}})();
47+
ChannelIO('boot', {
48+
"pluginKey": "00974094-3eae-441f-91e4-7f3404f44380"
49+
});
50+
</script>
4551
<div id="root"></div>
4652
<script type="module" src="/src/main.tsx"></script>
4753
</body>

0 commit comments

Comments
 (0)