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:
Ronan Jouchet 2021-03-10 19:49:15 -05:00
parent ffa421eb8e
commit 12373b620e
2 changed files with 2 additions and 2 deletions

View File

@ -841,7 +841,7 @@ var options = {
ignoreCertificate: false,
ignoreGpuBlacklist: false,
enableEs3Apis: false,
internalUrls: '.*?', // defaults to URLs on same second-level domain as app
internalUrls: '.*?',
blockExternalUrls: false,
insecure: false,
honest: false,

View File

@ -210,7 +210,7 @@ if (require.main === module) {
)
.option(
'--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(
'--block-external-urls',