diff --git a/packages/insomnia/src/index.html b/packages/insomnia/src/index.html
index 7092faf2a..3eb0c0ca3 100644
--- a/packages/insomnia/src/index.html
+++ b/packages/insomnia/src/index.html
@@ -6,6 +6,7 @@
http-equiv="Content-Security-Policy"
content="font-src 'self' data:; connect-src * data: api: insomnia-event-source:; default-src * insomnia://*; img-src blob: data: * insomnia://*; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src blob: data: mediastream: * insomnia://*;"
/>
+
diff --git a/packages/insomnia/src/main.development.ts b/packages/insomnia/src/main.development.ts
index da87fb0be..6787a7c71 100644
--- a/packages/insomnia/src/main.development.ts
+++ b/packages/insomnia/src/main.development.ts
@@ -160,6 +160,7 @@ const _launchApp = async () => {
window = windowUtils.getOrCreateWindow();
windowUtils.createHiddenBrowserWindow();
window.webContents.send('shell:open', args.join());
+ window.webContents.setZoomFactor(1);
}
});
// Disable deep linking in playwright e2e tests in order to run multiple tests in parallel
@@ -174,6 +175,8 @@ const _launchApp = async () => {
app.on('second-instance', (_1, args) => {
console.log('Second instance listener received:', args.join('||'));
window = windowUtils.getOrCreateWindow();
+ window.webContents.setZoomFactor(1);
+
if (window) {
if (window.isMinimized()) {
window.restore();
@@ -185,10 +188,13 @@ const _launchApp = async () => {
window.webContents.send('shell:open', lastArg);
});
window = windowUtils.getOrCreateWindow();
+ window.webContents.setZoomFactor(1);
app.on('open-url', (_event, url) => {
console.log('[main] Open Deep Link URL', url);
window = windowUtils.getOrCreateWindow();
+ window.webContents.setZoomFactor(1);
+
if (window) {
if (window.isMinimized()) {
window.restore();
@@ -202,6 +208,7 @@ const _launchApp = async () => {
}
} else {
window = windowUtils.getOrCreateWindow();
+ window.webContents.setZoomFactor(1);
}
// Don't send origin header from Insomnia because we're not technically using CORS