Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download next.config.js from enzostvs/hub-api-playground: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/enzostvs/hub-api-playground/resolve/refs%2Fpr%2F5/next.config.js
- Command line
-
hf download hf://spaces/enzostvs/hub-api-playground@refs/pr/5/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/enzostvs/hub-api-playground/resolve/refs%2Fpr%2F5/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 |