From 12373b620ed30c79290be3fb522244d7a3725c15 Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Wed, 10 Mar 2021 19:49:15 -0500 Subject: [PATCH] Doc/API: update outdated --internal-urls "second-level-domain" stuff See https://github.com/nativefier/nativefier/pull/1126 and https://github.com/nativefier/nativefier/commit/c0a660467665009281f9066c9f426aeb9cb9f87b --- docs/api.md | 2 +- src/cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',