Update development script and add error handling in authentication middleware

The "dev" script in the package.json for apps/web updated to include a "--turbo" flag. Moreover, enhanced error handling logic is added to the authentication
This commit is contained in:
giancarlo
2024-03-28 23:39:36 +08:00
parent 9011abfca7
commit 8a080eaf78
2 changed files with 12 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"analyze": "ANALYZE=true pnpm run build",
"build": "pnpm with-env next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev",
"dev": "pnpm with-env next dev --turbo",
"lint": "next lint",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"start": "pnpm with-env next start",