summaryrefslogtreecommitdiff
path: root/apps/web/netlify.toml
blob: 23f9486e8c3d3a923e6a1e7ab27f41e91eff12c5 (plain) (blame)
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
# Build configuration
[build]
  # Base directory - where Netlify installs dependencies and runs build
  base = "../.."
  
  # Publish directory - relative to base directory
  publish = "apps/web/.next"
  
  # Build command
  command = "cd apps/web && npm run build"

# Next.js plugin
[[plugins]]
  package = "@netlify/plugin-nextjs"

# Redirects for domain migration
[[redirects]]
  from = "https://appcut.app/*"
  to = "https://opencut.app/:splat"
  status = 301
  force = true

# Functions directory
[functions]
  directory = "apps/web/netlify/functions"