Skip to content

Commit f62b5b7

Browse files
committed
modify vercel config to use vercel/node to run the hapi server
1 parent fb17307 commit f62b5b7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: vercel.json

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
"name": "jsPerf",
33
"version": 2,
44
"public": true,
5+
"builds": [
6+
{
7+
"src": "./server.js",
8+
"use": "@vercel/node"
9+
}
10+
],
11+
"routes": [
12+
{ "handle": "filesystem" },
13+
{
14+
"src": "/.*",
15+
"dest": "server.js"
16+
}
17+
],
518
"alias": ["jsperf.com"],
619
"env": {
720
"SCHEME": "https",

0 commit comments

Comments
 (0)