Spaces:
Sleeping
Sleeping
Download apps/admin-web/next.config.ts from ADI576/proflo-admin: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/ADI576/proflo-admin/resolve/main/apps/admin-web/next.config.ts
- Command line
-
hf download hf://spaces/ADI576/proflo-admin/apps/admin-web/next.config.ts
-
curl -L -o next.config.ts https://huggingface.co/spaces/ADI576/proflo-admin/resolve/main/apps/admin-web/next.config.ts
433 Bytes
| import type { NextConfig } from "next"; | |
| const apiProxy = process.env.API_PROXY_TARGET?.replace(/\/$/, ""); | |
| const nextConfig: NextConfig = { | |
| output: "standalone", | |
| eslint: { | |
| ignoreDuringBuilds: true, | |
| }, | |
| typescript: { | |
| ignoreBuildErrors: true, | |
| }, | |
| async rewrites() { | |
| if (!apiProxy) return []; | |
| return [{ source: "/checkout-api/:path*", destination: `${apiProxy}/:path*` }]; | |
| } | |
| }; | |
| export default nextConfig; | |