This commit is contained in:
bangae1
2025-10-20 18:57:38 +09:00
parent ea7f7a6e99
commit a0b114c92f
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import io from 'socket.io-client';
const SIGNALING_SERVER = 'http://localhost:3001'; // 실제 서버 주소로 변경 const SIGNALING_SERVER = 'http://localhost:3001'; // 실제 서버 주소로 변경
export default function RemoteControl() { export default function RemoteControl() {
const [employeeId, setEmployeeId] = useState(''); const [employeeId, setEmployeeId] = useState('psn14020');
const [status, setStatus] = useState('disconnected'); // 'disconnected' | 'connecting' | 'connected' const [status, setStatus] = useState('disconnected'); // 'disconnected' | 'connecting' | 'connected'
const [displays, setDisplays] = useState([]); const [displays, setDisplays] = useState([]);
const [selectedDisplay, setSelectedDisplay] = useState(null); const [selectedDisplay, setSelectedDisplay] = useState(null);

View File

@@ -12,6 +12,7 @@ function createWindow() {
sandbox: false sandbox: false
} }
}); });
win.webContents.openDevTools();
if (app.isPackaged) { if (app.isPackaged) {
win.loadFile(path.join(__dirname, 'frontend/dist/index.html')); win.loadFile(path.join(__dirname, 'frontend/dist/index.html'));