X Tutup
Skip to content

Commit e1acfff

Browse files
authored
docs: remove outdated refs to protocol.registerStandardSchemes (electron#17959)
1 parent 075b818 commit e1acfff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/api/protocol.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ app.on('ready', () => {
5454
})
5555
})
5656
```
57-
Using `protocol.registerStandardSchemes` without the session will still register your custom protocol as a standard scheme.
5857

5958
## Methods
6059

@@ -158,9 +157,7 @@ specified. For the available error numbers you can use, please see the
158157
[net error list][net-error].
159158

160159
By default the `scheme` is treated like `http:`, which is parsed differently
161-
than protocols that follow the "generic URI syntax" like `file:`, so you
162-
probably want to call `protocol.registerStandardSchemes` to have your scheme
163-
treated as a standard scheme.
160+
than protocols that follow the "generic URI syntax" like `file:`.
164161

165162
### `protocol.registerBufferProtocol(scheme, handler[, completion])`
166163

0 commit comments

Comments
 (0)
X Tutup