mirror of
https://github.com/unraid/api.git
synced 2026-02-24 18:59:10 -06:00
* chore(web): mock user session cookie during development * refactor(scripts): change default mock session name to mock-user-session * tmp: log cookies in production * refactor(api): add dev fixture for a mock user session * fix(web): only mock session cookie during development * fix(web): type coercion of MOCK_USER_SESSION env flag
15 lines
750 B
Plaintext
15 lines
750 B
Plaintext
VITE_ACCOUNT=http://localhost:5555
|
|
VITE_CONNECT=https://connect.myunraid.net
|
|
VITE_UNRAID_NET=https://unraid.ddev.site
|
|
VITE_OS_RELEASES="https://releases.unraid.net/os"
|
|
VITE_CALLBACK_KEY=aNotSoSecretKeyUsedToObfuscateQueryParams
|
|
VITE_ALLOW_CONSOLE_LOGS=true
|
|
# Base font size in pixels for Tailwind CSS. Used by the tailwind-rem-to-rem plugin to scale rem values.
|
|
# This lets us use rem's in our css instead of pixels while remaining webgui-compatible without additional hacks.
|
|
# This should match your root font size. Default: 16
|
|
# For an Unraid Webgui deployment, set this to 10.
|
|
VITE_TAILWIND_BASE_FONT_SIZE=16
|
|
VITE_WEBGUI=http://localhost:3001
|
|
# Flag for mocking a user session during development via an unsecure cookie
|
|
VITE_MOCK_USER_SESSION=true
|