CognxSafeTrack Claude Sonnet 4.6 commited on
Commit
bc01171
·
1 Parent(s): 6484585

fix(web): add netlify.toml for web site — fixes admin being served on xamle.studio

Browse files
Files changed (1) hide show
  1. apps/web/netlify.toml +12 -0
apps/web/netlify.toml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build]
2
+ base = "apps/web"
3
+ command = "cd ../.. && pnpm install --frozen-lockfile && pnpm --filter @repo/database generate && pnpm --filter @repo/shared-types build && pnpm --filter web build"
4
+ publish = "dist"
5
+
6
+ [build.environment]
7
+ NODE_VERSION = "20"
8
+
9
+ [[redirects]]
10
+ from = "/*"
11
+ to = "/index.html"
12
+ status = 200