Skip to content

Commit 086fe40

Browse files
committed
Allow localhost as customized server
1 parent 20a11a1 commit 086fe40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ onload = () => {
141141
// reset default
142142
if (serverurl.length === 0) { serverurl = DEFAULT_SERVER_URL; }
143143

144-
const errors = validate({ serverurl }, { serverurl: {url: true}})
144+
const errors = validate({ serverurl }, { serverurl: {url: { allowLocal: true }}});
145145
if (!errors) {
146146
config.set('serverurl', serverurl);
147147
webview.loadURL(serverurl);

0 commit comments

Comments
 (0)