mirror of
https://github.com/p-stream/docs.git
synced 2026-03-11 17:55:39 +00:00
feat: VITE_ALLOW_AUTOPLAY
This commit is contained in:
parent
8cb77fd706
commit
e1cb13704e
1 changed files with 14 additions and 5 deletions
|
|
@ -128,6 +128,13 @@ When onboarding is enabled using `VITE_HAS_ONBOARDING`. This link will be used t
|
|||
|
||||
If omitted, this will still show the proxy onboarding screen, just without an documentation link for the proxy.
|
||||
|
||||
### `VITE_ALLOW_AUTOPLAY`
|
||||
|
||||
- Type: `boolean`
|
||||
- Default: `false`
|
||||
|
||||
Whether to allow autoplay for users that use the host provided proxies.
|
||||
|
||||
### `VITE_DISALLOWED_IDS`
|
||||
|
||||
- Type: `string`
|
||||
|
|
@ -162,7 +169,8 @@ The [Turnstile key](https://dash.cloudflare.com/sign-up?to=/:account/turnstile)
|
|||
## Config reference - Environment Variables Only
|
||||
|
||||
<Caution>
|
||||
These configuration keys are specific to environment variables, they **only** work as environment variables **set at build time**.
|
||||
These configuration keys are specific to environment variables, they **only**
|
||||
work as environment variables **set at build time**.
|
||||
</Caution>
|
||||
|
||||
### `VITE_PWA_ENABLED`
|
||||
|
|
@ -174,7 +182,8 @@ Set to `true` if you want to output a PWA application. Set to `false` or omit to
|
|||
A PWA web application can be installed as an application to your phone or desktop computer, but can be tricky to manage and comes with a few footguns.
|
||||
|
||||
<Warning>
|
||||
Make sure you know what you're doing before enabling this, it **cannot be disabled** after you've set it up once.
|
||||
Make sure you know what you're doing before enabling this, it **cannot be
|
||||
disabled** after you've set it up once.
|
||||
</Warning>
|
||||
|
||||
### `VITE_GA_ID`
|
||||
|
|
|
|||
Loading…
Reference in a new issue