Spaces:
Running
Running
Download next.config.js from Ezequield/anycoder-e2723b42: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/spaces/Ezequield/anycoder-e2723b42/resolve/main/next.config.js
- Command line
-
hf download hf://spaces/Ezequield/anycoder-e2723b42/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/Ezequield/anycoder-e2723b42/resolve/main/next.config.js
379 Bytes
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| reactStrictMode: true, | |
| // Configure headers for HuggingFace Spaces | |
| async headers() { | |
| return [ | |
| { | |
| source: '/:path*', | |
| headers: [ | |
| { | |
| key: 'Access-Control-Allow-Origin', | |
| value: '*', | |
| }, | |
| ], | |
| }, | |
| ]; | |
| }, | |
| } | |
| module.exports = nextConfig |