Files
api/web/.env.example
Pujit Mehrotra 1718af1bb6 Revert "chore(web): prepare package.json and env files for monorepo tooling" (#1182)
Reverts unraid/api#1180

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced the repository setup process by separating configuration for
backend and website modules.
- Introduced a new web setup routine that automates environment
initialization and dependency installation.
- Expanded the development workflow with commands for live development,
linting, type checking, and code generation.

- **Chores**
- Reorganized project scripts and dependency management for improved
consistency.
- Streamlined cleanup routines and refined configuration settings for
staging environments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-21 13:57:37 -05:00

17 lines
838 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
# static override for csrf token during development.
VITE_CSRF_TOKEN="0000000000000000"
# Flag for mocking a user session during development via an unsecure cookie
VITE_MOCK_USER_SESSION=true