백엔드 버젼표시

This commit is contained in:
backuppc
2026-01-20 15:13:21 +09:00
parent ea070816e3
commit 467d0f5917
2 changed files with 23 additions and 20 deletions

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
public/webftp-backend.exe

View File

@@ -9,6 +9,8 @@
* - **NEW**: 포트 충돌 자동 감지 및 프로세스 종료 기능 * - **NEW**: 포트 충돌 자동 감지 및 프로세스 종료 기능
*/ */
const APP_VERSION = "0.0.1";
const WebSocket = require('ws'); const WebSocket = require('ws');
const ftp = require('basic-ftp'); const ftp = require('basic-ftp');
const fs = require('fs'); const fs = require('fs');
@@ -51,7 +53,7 @@ function startServer() {
}); });
wss.on('listening', () => { wss.on('listening', () => {
console.log(`\n🚀 WebZilla FTP Proxy Server가 ws://localhost:${PORT} 에서 실행 중입니다.`); console.log(`\n🚀 WebZilla FTP Proxy Server [v${APP_VERSION}] 가 ws://localhost:${PORT} 에서 실행 중입니다.`);
console.log(`📂 설정 폴더: ${configDir}`); console.log(`📂 설정 폴더: ${configDir}`);
}); });