Spaces:
Running
Running
Download web/console/vite.config.ts from SZLHOLDINGS/a11oy: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/a4b1991839dadf7c0ae9744d9c69c0948ed7a1a8/web/console/vite.config.ts
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@a4b1991839dadf7c0ae9744d9c69c0948ed7a1a8/web/console/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/a4b1991839dadf7c0ae9744d9c69c0948ed7a1a8/web/console/vite.config.ts
562 Bytes
| // SPDX-License-Identifier: Apache-2.0 | |
| import { defineConfig } from "vite"; | |
| import react from "@vitejs/plugin-react"; | |
| // The a11oy operator console SPA. In dev, /v1, /healthz and /readyz are proxied | |
| // to a local `a11oy serve` instance (default :8080) so the SPA reads real | |
| // receipts. Override with VITE_A11OY_BASE_URL for a remote substrate. | |
| export default defineConfig({ | |
| plugins: [react()], | |
| server: { | |
| proxy: { | |
| "/v1": "http://127.0.0.1:8080", | |
| "/healthz": "http://127.0.0.1:8080", | |
| "/readyz": "http://127.0.0.1:8080", | |
| }, | |
| }, | |
| }); | |