diff --git a/apps/web/netlify.toml b/apps/web/netlify.toml index 7422ce9..23f9486 100644 --- a/apps/web/netlify.toml +++ b/apps/web/netlify.toml @@ -1,8 +1,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 \ No newline at end of file + force = true + +# Functions directory +[functions] + directory = "apps/web/netlify/functions" \ No newline at end of file