fix: /demos/[vertical] route with Next.js 15 params await

- Fix Next.js 15 params requirement (await params)
- Add minimal test for route redirect behavior
- Test verifies all 4 verticals redirect correctly
This commit is contained in:
root
2026-02-19 12:24:38 +00:00
parent aa1b2fa80b
commit 040655912c
3 changed files with 68 additions and 2 deletions
+7 -2
View File
@@ -6,20 +6,25 @@
"scripts": {
"dev": "next dev -p 1284",
"build": "next build",
"start": "next start"
"start": "next start",
"test": "node --experimental-strip-types tests/demos-vertical.test.ts"
},
"dependencies": {
"@google/genai": "^1.39.0",
"@google/generative-ai": "^0.24.1",
"@stripe/stripe-js": "^8.7.0",
"@vapi-ai/web": "^2.5.2",
"framer-motion": "^12.23.12",
"next": "^15.5.3",
"react": "^19.1.1",
"react-dom": "^19.1.1"
"react-dom": "^19.1.1",
"stripe": "^17.5.0"
},
"devDependencies": {
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"autoprefixer": "^10.4.21",
"dotenv": "^17.3.1",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17",
"typescript": "^5.9.2"