From 6ce8c35a349e387dd8dca77bce43c546bd91a531 Mon Sep 17 00:00:00 2001 From: seo Date: Fri, 10 Jul 2026 19:05:58 +0900 Subject: [PATCH] =?UTF-8?q?launcher=20asset=20reload=20=ED=98=B8=EC=B6=9C?= =?UTF-8?q?=20=EB=B3=B4=EA=B0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- js/main.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a40abcf..0ef6c7b 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ ```html - + +
- + ``` ## 기능 @@ -36,7 +37,7 @@ 런처 CSS 원본은 `/custom/common/css/launcher.css`를 사용합니다. 기존 운영 HTML이 `/custom/launcher/css/style.css`를 참조해도 호환 파일이 공용 CSS를 import합니다. -`js/main.js`는 `/custom/common/js/asset-reload.js`를 `launcher` 서비스로 불러옵니다. 감시 대상은 런처 JS/CSS/API와 공통 인증, 공통 CSS, 공통 설정 파일입니다. 열린 런처 화면에서 대상 파일 버전이 달라지면 브라우저 캐시를 비우고 현재 화면을 다시 열어 새 파일을 받습니다. +페이지 본문은 `/custom/common/js/asset-reload.js`를 `launcher` 서비스로 먼저 불러옵니다. 감시 대상은 런처 JS/CSS/API와 공통 인증, 공통 CSS, 공통 설정 파일입니다. 열린 런처 화면에서 대상 파일 버전이 달라지면 브라우저 캐시를 비우고 현재 화면을 다시 열어 새 파일을 받습니다. ## 운영 메모 diff --git a/js/main.js b/js/main.js index 8747e8f..5549e43 100644 --- a/js/main.js +++ b/js/main.js @@ -8,7 +8,7 @@ const PIN_LENGTH = 4; if (window.__customAssetReloadLoader) return; window.__customAssetReloadLoader = true; const script = document.createElement('script'); - script.src = '/custom/common/js/asset-reload.js'; + script.src = '/custom/common/js/asset-reload.js?v=20260710_assetfix1'; script.dataset.service = 'launcher'; script.defer = true; document.head.appendChild(script);