Skip to content

Commit

Permalink
Changed server folder to api
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedalatawi committed Nov 6, 2024
1 parent e8f9b98 commit 215ee76
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "tsc && vite build",
"test": "jest",
"test:coverage": "jest --watchAll=false --coverage",
"start:server": "cd server && ts-node-dev --respawn --transpile-only ./index.ts && wait-on tcp:4000",
"start:server": "cd api && ts-node-dev --respawn --transpile-only ./index.ts && wait-on tcp:4000",
"start:web": "vite --host --open",
"ts-check": "tsc --noEmit --watch",
"lint": "eslint .",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"@/*": ["./src/*"]
}
},
"include": ["src", "server/**/*"],
"include": ["src", "api/**/*"],
"references": [{ "path": "./tsconfig.node.json" }]
}
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/server" }]
"rewrites": [{ "source": "/(.*)", "destination": "/api" }]
}

0 comments on commit 215ee76

Please sign in to comment.