diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-25 18:57:52 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-25 18:57:52 +0200 |
| commit | 0f343dfbdabdbd3824750c37f5d1fd2973e7cd62 (patch) | |
| tree | 1e0cc0e88069cb4fd3d6b07d3a6c19dbfee6b516 /apps/web/netlify.toml | |
| parent | ba14d65605a7e0913516efcb16e89e96a9e06b4d (diff) | |
| download | opencut-0f343dfbdabdbd3824750c37f5d1fd2973e7cd62.tar.gz | |
i hate netlify
Diffstat (limited to 'apps/web/netlify.toml')
| -rw-r--r-- | apps/web/netlify.toml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/web/netlify.toml b/apps/web/netlify.toml index 7422ce98..23f9486e 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 |
