Spaces:
Build error
Build error
Download next.config.js from Nymbo/hub-api-playground: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/Nymbo/hub-api-playground/resolve/main/next.config.js
- Command line
-
hf download hf://spaces/Nymbo/hub-api-playground/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/Nymbo/hub-api-playground/resolve/main/next.config.js
356 Bytes
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| experimental: { | |
| serverActions: true, | |
| serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'], | |
| }, | |
| redirects: async () => { | |
| return [ | |
| { | |
| source: '/', | |
| destination: '/search/0', | |
| permanent: true, | |
| }, | |
| ] | |
| } | |
| } | |
| module.exports = nextConfig |