Skip to content

Commit 53b5a8e

Browse files
committed
Add vercel.json & rsync command
1 parent 5c1314a commit 53b5a8e

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

scripts/pre-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function main() {
99
if [ "$VERCEL" = 1 ]; then
1010
echo "On Vercel"
1111
yum groupinstall "Development Tools"
12-
yum install libX11-devel.x86_64 libxkbfile-devel.x86_64 libsecret-devel
12+
yum install libX11-devel.x86_64 libxkbfile-devel.x86_64 libsecret-devel rsync
1313
fi
1414
}
1515

vercel.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"routes": [{
3+
"src": "/static/(.*)",
4+
"dest": "/images/$1"
5+
},
6+
{
7+
"src": "/favicon.ico",
8+
"dest": "/favicon.ico"
9+
},
10+
{
11+
"src": "/manifest.json",
12+
"dest": "/manifest.json"
13+
},
14+
{
15+
"src": ".*",
16+
"dest": "/index.html"
17+
}
18+
]
19+
}

0 commit comments

Comments
 (0)