Skip to content

Commit c8e41c2

Browse files
authored
vercel node config (#536)
* modify vercel config to use vercel/node to run the hapi server * Follow format from https://github.com/vercel/now-builders/issues/76
1 parent fb17307 commit c8e41c2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vercel.json

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
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+
{
13+
"src": "/(.*)",
14+
"dest": "server.js"
15+
}
16+
],
517
"alias": ["jsperf.com"],
618
"env": {
719
"SCHEME": "https",

0 commit comments

Comments
 (0)