mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-02-02 03:48:23 +00:00
Document internal-urls option (PR #465)
This commit is contained in:
parent
e1909bf5c8
commit
7270f7d295
15
docs/api.md
15
docs/api.md
@ -29,6 +29,7 @@
|
||||
- [[honest]](#honest)
|
||||
- [[ignore-certificate]](#ignore-certificate)
|
||||
- [[insecure]](#insecure)
|
||||
- [[internal-urls]](#internal-urls)
|
||||
- [[flash]](#flash)
|
||||
- [[flash-path]](#flash-path)
|
||||
- [[disk-cache-size]](#disk-cache-size)
|
||||
@ -309,6 +310,20 @@ Passes the enable-es3-apis flag to the Chrome engine, to force the activation of
|
||||
```
|
||||
Forces the packaged app to ignore web security errors, such as [Mixed Content](https://developer.mozilla.org/en-US/docs/Security/Mixed_content) errors when receiving HTTP content on a HTTPS site.
|
||||
|
||||
|
||||
#### [internal-urls]
|
||||
|
||||
```
|
||||
--internal-urls <regex>
|
||||
```
|
||||
Regular expression of URLs to consider "internal"; all other URLs will be opened in an external browser. Defaults to URLs on same second-level domain as app.
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
nativefier https://google.com --internal-urls ".*?\.google\.*?"
|
||||
```
|
||||
|
||||
#### [flash]
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user