Download ARTEX-main/web/src/lib/mock/enabled.ts from ghostai1/WardenPEN: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/ghostai1/WardenPEN/resolve/main/ARTEX-main/web/src/lib/mock/enabled.ts
- Command line
-
hf download hf://ghostai1/WardenPEN/ARTEX-main/web/src/lib/mock/enabled.ts
-
curl -L -o enabled.ts https://huggingface.co/ghostai1/WardenPEN/resolve/main/ARTEX-main/web/src/lib/mock/enabled.ts
267 Bytes
| // Mock switch. A public variable injected at build time (only the NEXT_PUBLIC_ prefix is readable in the browser). | |
| // On Vercel, setting NEXT_PUBLIC_MOCK=1 runs the whole site on mock with no backend needed. | |
| export const MOCK = process.env.NEXT_PUBLIC_MOCK === "1"; | |