-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update for additional files + env.vars (vc)
- Loading branch information
1 parent
722281e
commit a820f8d
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |