|
@@ -19,7 +19,8 @@ function createWindow() {
|
|
|
});
|
|
|
|
|
|
win.webContents.openDevTools(); // 打开开发者工具进行调试
|
|
|
- win.loadURL('http://localhost:5173'); // 假设你的Vite开发服务器在3000端口运行
|
|
|
+ // win.loadURL('http://localhost:5173'); // 开发环境
|
|
|
+ win.loadURL('http://36.110.106.156:81'); // 生产环境
|
|
|
console.log('Window created and URL loaded');
|
|
|
}
|
|
|
|
|
@@ -109,4 +110,4 @@ ipcMain.on('docker-import', (event, sudoPassword, filePath, tag) => {
|
|
|
console.log(`stdout: ${stdout}`);
|
|
|
console.error(`stderr: ${stderr}`);
|
|
|
});
|
|
|
-});
|
|
|
+});
|