summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-09-02 11:46:08 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-09-03 11:44:35 +0200
commit630ffb0ee6c735cd8f303e3b0986a11d3b0e577b (patch)
tree87934bb400a3334a8a9f955334b8c7d41d80c8ee /gui/src/main
parent699be1c11ba0e460c08aed4842807f08f9439d2b (diff)
downloadmullvadvpn-630ffb0ee6c735cd8f303e3b0986a11d3b0e577b.tar.xz
mullvadvpn-630ffb0ee6c735cd8f303e3b0986a11d3b0e577b.zip
Only allow dev tools in development
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index add5b97058..d6736d1651 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -1192,6 +1192,7 @@ class ApplicationMain {
frame: false,
webPreferences: {
nodeIntegration: true,
+ devTools: process.env.NODE_ENV === 'development',
},
};