diff --git a/docs/api.md b/docs/api.md index 0f4def8..2df4636 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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, diff --git a/src/cli.ts b/src/cli.ts index 0409cd6..d27e9e0 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -210,7 +210,7 @@ if (require.main === module) { ) .option( '--internal-urls ', - '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',