mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-10 23:31:10 +00:00
Doc/API: update outdated --internal-urls "second-level-domain" stuff
See https://github.com/nativefier/nativefier/pull/1126
and c0a6604676
This commit is contained in:
parent
ffa421eb8e
commit
12373b620e
@ -841,7 +841,7 @@ var options = {
|
|||||||
ignoreCertificate: false,
|
ignoreCertificate: false,
|
||||||
ignoreGpuBlacklist: false,
|
ignoreGpuBlacklist: false,
|
||||||
enableEs3Apis: false,
|
enableEs3Apis: false,
|
||||||
internalUrls: '.*?', // defaults to URLs on same second-level domain as app
|
internalUrls: '.*?',
|
||||||
blockExternalUrls: false,
|
blockExternalUrls: false,
|
||||||
insecure: false,
|
insecure: false,
|
||||||
honest: false,
|
honest: false,
|
||||||
|
@ -210,7 +210,7 @@ if (require.main === module) {
|
|||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
'--internal-urls <value>',
|
'--internal-urls <value>',
|
||||||
'regex of URLs to consider "internal"; all other URLs will be opened in an external browser. Default: URLs on same second-level domain as app',
|
'regex of URLs to consider "internal"; all other URLs will be opened in an external browser. Default: URLs sharing the same base domain, once stripped of www.',
|
||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
'--block-external-urls',
|
'--block-external-urls',
|
||||||
|
Loading…
Reference in New Issue
Block a user