-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
49 lines (43 loc) · 1.34 KB
/
netlify.toml
File metadata and controls
49 lines (43 loc) · 1.34 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
38
39
40
41
42
43
44
45
46
47
48
49
[build]
command = "CI=false NODE_OPTIONS=--max-old-space-size=4096 NEXT_TELEMETRY_DISABLED=1 npm run build"
publish = ".next"
ignore_warnings = true
[build.environment]
NODE_VERSION = "18"
NPM_VERSION = "9"
NETLIFY_NEXT_PLUGIN_SKIP = "false"
RESEND_API_KEY = "re_QQwPHVih_BPqM2kAD4LZ7xEGyuPequ6bA"
# Database URL for Postgres with pooler format for IPv4 compatibility
DATABASE_URL = "postgres://postgres.nvmtjzdgpwwgfkxitcvs:Apcllc2025%24%24@aws-0-us-east-1.pooler.supabase.com:5432/postgres"
# Admin API key for secure API access
ADMIN_API_KEY = "apcllc2024adminapi"
# Metadata base for Next.js
NEXT_PUBLIC_METADATA_BASE_URL = "https://apcllc.co"
# Disable type checking during build
TYPESCRIPT_SKIP_TYPECHECK = "true"
CI = "false"
[[plugins]]
package = "@netlify/plugin-nextjs"
# Configure functions
[functions]
# Set the directory for Netlify Functions (used for API routes)
directory = ".netlify/functions-internal"
# Set timeout to 30 seconds for longer database operations
node_bundler = "esbuild"
# Redirect /lander to homepage
[[redirects]]
from = "/lander"
to = "/"
status = 301
force = true
# Add redirects for API routes
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/api/:splat"
status = 200
force = true
[dev]
command = "npm run dev"
port = 4000
targetPort = 4000
framework = "next"