Skip to content

Commit 2310a54

Browse files
authored
Merge pull request #236 from objectstack-ai/copilot/deploy-docs-and-demo-to-vercel
2 parents 544892a + 9d543a9 commit 2310a54

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

apps/site/vercel.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"cleanUrls": true
4+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dev:all": "concurrently -n api,web,site -c blue,green,yellow \"pnpm objectstack:serve\" \"pnpm web:dev\" \"pnpm site:dev\"",
2121
"start": "pnpm objectstack:serve",
2222
"build": "turbo run build",
23-
"build:vercel": "turbo run build && cp -r apps/site/out apps/web/dist/docs",
23+
"build:vercel": "turbo run build --filter=@objectos/web...",
2424
"test": "turbo run test --concurrency=3",
2525
"lint": "turbo run lint",
2626
"clean": "turbo run clean",

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313
"rewrites": [
1414
{ "source": "/api/v1/(.*)", "destination": "/api" },
15-
{ "source": "/((?!api/|docs/).*)", "destination": "/index.html" }
15+
{ "source": "/((?!api/).*)", "destination": "/index.html" }
1616
]
1717
}

0 commit comments

Comments
 (0)