inject_hostnames
Field | Type | Required |
---|---|---|
inject_hostnames | string array | Yes |
DEPRECATED FIELD - INJECTION IS NOT SUPPORTED ANYMORE!
This field is for spacelets only!
A list of hostnames the injection is targeted. Hostname can not be empty or contain whitespace. Inject files (see inject_files) are injected only to the web pages having the hostname(s). Use * as wildcard (notice that *. is not equivalent to *).
Example | Description |
---|---|
[ "*.example.com" ] | Injects files to web pages having the hostname www.example.com. |
[ "*example.com" ] | Injects files to web pages having the hostname example.com, www.example.com etc. |
[ "*example.*" ] | Injects files to web pages having the hostname example.com., www.example.com, example.org, www.example.org etc. |
[ "www.example.com", "www.example.org" ] | Injects files to web pages having the hostname www.example.com or www.example.org. |