- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
935 B
TypeScript
31 lines
935 B
TypeScript
// This needs to run before the renderer initializes.
|
|
|
|
const ReactRefreshRuntime = require('react-refresh/runtime');
|
|
ReactRefreshRuntime.injectIntoGlobalHook(global);
|
|
|
|
const Refresh = {
|
|
performFullRefresh() {
|
|
location.reload();
|
|
},
|
|
|
|
createSignatureFunctionForTransform: ReactRefreshRuntime.createSignatureFunctionForTransform,
|
|
|
|
isLikelyComponentType: ReactRefreshRuntime.isLikelyComponentType,
|
|
|
|
getFamilyByType: ReactRefreshRuntime.getFamilyByType,
|
|
|
|
register: ReactRefreshRuntime.register,
|
|
|
|
performReactRefresh() {
|
|
if (ReactRefreshRuntime.hasUnrecoverableErrors()) {
|
|
location.reload();
|
|
return;
|
|
}
|
|
ReactRefreshRuntime.performReactRefresh();
|
|
},
|
|
};
|
|
|
|
// The metro require polyfill can not have dependencies (applies for all polyfills).
|
|
// Expose `Refresh` by assigning it to global to make it available in the polyfill.
|
|
global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__ReactRefresh'] = Refresh;
|