Skip to content

Commit 80ff5ef

Browse files
committed
SPA rewrites + 404.html fallback; ensure static build serves /guides and /examples directly
1 parent 826a8e5 commit 80ff5ef

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"scripts": {
1515
"dev": "vite",
1616
"build": "vite build",
17+
"postbuild": "cp dist/index.html dist/404.html",
1718
"build:dev": "vite build --mode development",
1819
"lint": "eslint .",
1920
"preview": "vite preview"

vercel.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"version": 2,
32
"builds": [
43
{
54
"src": "frontend/package.json",

0 commit comments

Comments
 (0)