logmon-cli 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -33,8 +33,8 @@ async function run() {
33
33
 
34
34
  try {
35
35
  if (isUninstall) {
36
- // 제거 스크립트 실행
37
- const uninstallCmd = `curl -sL ${BASE_URL}/static/uninstall-agent.sh | bash`;
36
+ // [★ 영구 패치 완료] 정적 파일 간섭을 완전히 배제하기 위해 백엔드 스트리밍 전용 API 주소로 전격 전환!
37
+ const uninstallCmd = `curl -sL ${BASE_URL}/api/logmon/agent-uninstall-script | bash`;
38
38
  execSync(uninstallCmd, { stdio: 'inherit' });
39
39
  } else {
40
40
  // [핵심] 정적 파일이 아닌, 백엔드가 키를 동적으로 구워내는 '라우터 API'를 직접 파이프로 실행!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logmon-cli",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "LogMon Agent Auto Installer",
5
5
  "main": "index.js",
6
6
  "bin": {