2
2
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:
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, 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,

View File

@ -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',