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

+1
View File
@@ -1,6 +1,7 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"ignorePatterns": ["public/embed/umami.js"],
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]