Fix /api/getRequests endpoint #1
3 changed files with 20 additions and 2 deletions
13
.vscode/launch.json
vendored
Normal file
13
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"request": "attach",
|
||||||
|
"name": "Node: Nodemon",
|
||||||
|
"processId": "${command:PickProcess}",
|
||||||
|
"restart": true,
|
||||||
|
"protocol": "inspector"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -2,5 +2,9 @@
|
||||||
"watch": ["src"],
|
"watch": ["src"],
|
||||||
"ext": "ts",
|
"ext": "ts",
|
||||||
"ignore": ["src/**/*.spec.ts"],
|
"ignore": ["src/**/*.spec.ts"],
|
||||||
"exec": "ts-node ./src/app.ts"
|
"execMap": {
|
||||||
|
"ts": "node --require ts-node/register"
|
||||||
|
},
|
||||||
|
"verbose": true,
|
||||||
|
"restartable": "rs"
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"typescript": "^3.9.5"
|
"typescript": "^3.9.5"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "nodemon"
|
"start": "nodemon src/app.ts",
|
||||||
|
"debug": "nodemon --inspect src/app.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue