Skip to content

Commit

Permalink
update for additional files + env.vars (vc)
Browse files Browse the repository at this point in the history
  • Loading branch information
x-JohnWick0001-x authored Mar 19, 2023
1 parent 722281e commit a820f8d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"version": 2,
"builds": [
{ "src": "main.js", "use": "@vercel/node" }
{ "src": "app.js", "use": "@vercel/node" },
{ "src": "webhook.js", "use": "@vercel/node" }
],
"routes": [
{ "src": "/", "dest": "/main.js" }
{ "src": "/.*", "dest": "app.js" }
],
"env": {
"bot_token": "@bot_token",
"channel_id": "@channel_id",
"ip_token": "@ip_token",
"port": "@port" }
],
"buildCommand": "OUTPUT=npm install && npm run build"
}

0 comments on commit a820f8d

Please sign in to comment.