Spaces:
Build error
Build error
Upload next.config.js with huggingface_hub
Browse files- next.config.js +22 -0
next.config.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/** @type {import('next').NextConfig} */
|
| 2 |
+
const nextConfig = {
|
| 3 |
+
reactStrictMode: true,
|
| 4 |
+
swcMinify: true,
|
| 5 |
+
images: {
|
| 6 |
+
domains: ['i.ytimg.com', 'img.youtube.com'],
|
| 7 |
+
},
|
| 8 |
+
experimental: {
|
| 9 |
+
serverActions: true,
|
| 10 |
+
},
|
| 11 |
+
async redirects() {
|
| 12 |
+
return [
|
| 13 |
+
{
|
| 14 |
+
source: '/github',
|
| 15 |
+
destination: 'https://github.com/vercel/next.js',
|
| 16 |
+
permanent: true,
|
| 17 |
+
},
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
module.exports = nextConfig
|