We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daafbcc commit 8b5d360Copy full SHA for 8b5d360
next.config.js
@@ -1,14 +1,20 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
- output: 'export',
+ // Removed 'output: export' - Now using full Next.js with API routes
4
images: {
5
- unoptimized: true,
+ remotePatterns: [
6
+ {
7
+ protocol: 'https',
8
+ hostname: '**',
9
+ },
10
+ ],
11
12
+ // Server-side rendering enabled for Vercel deployment
13
+ experimental: {
14
+ serverActions: {
15
+ bodySizeLimit: '2mb',
16
17
},
- // Chỉ sử dụng basePath khi deploy lên GitHub Pages với repo name
- // Nếu dùng custom domain hoặc username.github.io thì comment dòng này
- // basePath: '/your-repo-name',
- // assetPrefix: '/your-repo-name/',
- trailingSlash: true,
18
}
19
20
module.exports = nextConfig
0 commit comments