-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.js
More file actions
37 lines (37 loc) · 1.16 KB
/
next.config.js
File metadata and controls
37 lines (37 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @type {import('next').NextConfig} */
const nextConfig = (module.exports = {
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
protocol: "http",
hostname: "res.cloudinary.com",
port: "",
},
],
domains: ["res.cloudinary.com"],
},
experimental: {
serverActions: {
bodySizeLimit: '2gb' // Maximum allowed value
}
},
httpTimeout: 300000, // Increase timeout to 5 minutes (300000 milliseconds), which is the maximum value
env: {
DB_URI:
// "mongodb+srv://Dev-scott:Scotty-dev-camer123@devstyle.45jjjdi.mongodb.net/devstyle?retryWrites=true&w=majority",
// "mongodb+srv://Dev-scott:Scotty-dev-camer123@devstyle.45jjjdi.mongodb.net/devstyle?retryWrites=true&w=majority&appName=devstyle",
"mongodb+srv://devstyle:gqr7telZFWgoXL8h@cluster0.hunlyyp.mongodb.net/?retryWrites=true&w=majority",
API_URL: "http://localhost:8000/api/v1",
},
});
module.exports = nextConfig;