Skip to content

Commit 364e77b

Browse files
committed
docs(configuration): update custom file protocol instructions
1 parent 7102d36 commit 364e77b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/guide/configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ By default, the `app` protocol is used to load files. This allows you to use ES6
122122
module.exports = {
123123
pluginOptions: {
124124
electronBuilder: {
125-
customFileProtocol: 'myCustomProtocol://' // You can also revert back to the file protocol with 'file://'
125+
customFileProtocol: 'myCustomProtocol://./' // Make sure to add "./" to the end of the protocol
126+
customFileProtocol: 'file://./' // You can also revert back to the file protocol with 'file://'
126127
}
127128
}
128129
}

0 commit comments

Comments
 (0)