Heroku
This commit is contained in:
parent
07c080f249
commit
7ca173b6fa
|
@ -9,6 +9,7 @@
|
|||
"scripts": {
|
||||
"build": "tsc",
|
||||
"postinstall": "tsc",
|
||||
"deploy": "git add . && git commit -m Heroku && git push heroku master",
|
||||
"start": "node --max_old_space_size=2048 build/index.js",
|
||||
"start:dev": "ts-node src/index.ts"
|
||||
},
|
||||
|
|
|
@ -38,6 +38,7 @@ router.get('/', async(ctx, next) => {
|
|||
})
|
||||
|
||||
router.post('/alerts', async(ctx, next) => {
|
||||
sendLogsToDiscord('Alert called', null);
|
||||
try {
|
||||
const alert = ctx.request.body;
|
||||
await validateMarginAccount(client, connection, dexProgramId, alert);
|
||||
|
|
Loading…
Reference in New Issue