fix: umami 스크립트를 날씨각에 복사해 두고 써서 외부 스크립트를 직접 실행하지 않게 — 무결성 확인(SRI) 대신

- analytics.webforai.kr/script.js 를 frontend/public/embed/umami.js 로 복사(2026-11-26), 기록은 data-host-url 로 같은 umami 서버에 보냄
- 날씨각 웹(index.html)과 위젯 카드 모두 복사본을 씀. umami 서버가 다른 사이트의 파일 확인 요청(CORS)을 허락하지 않아 SRI 는 쓸 수 없음
- 복사본은 린트에서 뺌, 운영 문서에 다시 받는 법
This commit is contained in:
skkim committed 2026-11-26 15:32:58 +09:00
1 parent 3257360b5b
commit 11ce52a2d1
6 files changed
+28 -12

No files matched your search

+3 -2
View File
@@ -10,8 +10,9 @@
gtag('config', 'G-D378J4X373', { platform: '%MODE%' === 'toss' ? 'toss' : /NalssigakApp\//.test(navigator.userAgent) ? 'android_app' : 'web' });
</script>
<!-- 유입 추적 (analytics.webforai.kr) — weather.o2o.kr 에서만 보낸다 -->
<script defer src="https://analytics.webforai.kr/script.js"
<!-- 유입 추적 (analytics.webforai.kr) — weather.o2o.kr 에서만 보낸다. 스크립트는 날씨각에 복사해 둔 것을 쓰고(외부 스크립트를 직접 실행하지 않게) 기록만 umami 서버로 보낸다 -->
<script defer src="/embed/umami.js"
data-host-url="https://analytics.webforai.kr"
data-website-id="b2244cf7-9b43-49c0-b1c0-acfaaab95ddb"
data-domains="weather.o2o.kr,www.weather.o2o.kr"
data-exclude-search="true"