mirror of
https://github.com/unraid/api.git
synced 2026-05-06 23:20:30 -05:00
chore(web): mock user session cookie during development (#997)
* 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
This commit is contained in:
@@ -10,3 +10,5 @@ VITE_ALLOW_CONSOLE_LOGS=true
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user