,
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
1
main.js
1
main.js
@@ -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'));
|
||||||
|
|||||||
Reference in New Issue
Block a user