Variables
Const HOST_PATTERN_DEFAULT
HOST_PATTERN_DEFAULT: "{{uuid}}.mini-browser.{{hostname}}" = '{{uuid}}.mini-browser.{{hostname}}'
Const HOST_PATTERN_ENV
HOST_PATTERN_ENV: "THEIA_MINI_BROWSER_HOST_PATTERN" = 'THEIA_MINI_BROWSER_HOST_PATTERN'
Const PATH
PATH: "/mini-browser" = '/mini-browser'
The mini-browser can now serve content on its own host/origin.
The virtual host can be configured with this
THEIA_MINI_BROWSER_HOST_PATTERN
environment variable.{{hostname}}
represents the current host, and{{uuid}}
will be replace by a random uuid value.