Edit comment
This commit is contained in:
@@ -7,7 +7,11 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- Modify src to your Mattermost url -->
|
<!--
|
||||||
|
'disablewebsecurity' is necessary to display external images.
|
||||||
|
However, it allows also CSS/JavaScript.
|
||||||
|
So webview should use 'allowDisplayingInsecureContent' as same as BrowserWindow.
|
||||||
|
-->
|
||||||
<webview id="mainWebview" autosize="on" preload="webview/mattermost.js"></webview>
|
<webview id="mainWebview" autosize="on" preload="webview/mattermost.js"></webview>
|
||||||
<style>
|
<style>
|
||||||
webview {
|
webview {
|
||||||
|
Reference in New Issue
Block a user