Browse Source

Update for Vercel

master
Luke Childs 2 years ago
parent
commit
1f5c453575
  1. 10
      now.json
  2. 14
      vercel.json

10
now.json

@ -1,10 +0,0 @@
{
"name": "onionite",
"alias": "onionite",
"public": true,
"env": {
"NODE_ENV": "production",
"KEEN_PROJECT_ID": "@keen_project_id",
"KEEN_WRITE_KEY": "@keen_write_key"
}
}

14
vercel.json

@ -0,0 +1,14 @@
{
"builds": [
{
"src": "index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
}
]
}
Loading…
Cancel
Save