|
|
|
|
@ -29,7 +29,8 @@ function createWindow(): void {
|
|
|
|
|
|
|
|
|
|
const allowedOrigins = [
|
|
|
|
|
'http://192.168.0.117:8092',
|
|
|
|
|
'https://your-production-domain.com'
|
|
|
|
|
'https://your-production-domain.com',
|
|
|
|
|
'http://localhost:5173'
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
mainWindow.webContents.session.webRequest.onBeforeSendHeaders(
|
|
|
|
|
|