mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-18 06:17:21 +00:00
modified: vercel.json
This commit is contained in:
parent
0499e8a00a
commit
686ed5ba59
1 changed files with 2 additions and 19 deletions
21
vercel.json
21
vercel.json
|
|
@ -1,24 +1,7 @@
|
|||
{
|
||||
"version": 2,
|
||||
"builds": [
|
||||
{
|
||||
"src": "server/index.ts",
|
||||
"use": "@vercel/node",
|
||||
"config": {
|
||||
"includeFiles": ["shared/**", "server/**"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/api/(.*)",
|
||||
"dest": "server/index.ts"
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "server/index.ts"
|
||||
}
|
||||
],
|
||||
// All backend logic should be placed in api/ as serverless functions.
|
||||
// Static assets are served from client/public (set in vite.config.ts).
|
||||
"env": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue