Skip to content

Commit eb277d9

Browse files
committed
debugging
1 parent d778b1e commit eb277d9

File tree

4 files changed

+85
-52
lines changed

4 files changed

+85
-52
lines changed

lib/app.js

+3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ var _getURL2 = _interopRequireDefault(_getURL);
1414

1515
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1616

17+
var timeout = require('connect-timeout');
18+
1719
var app = (0, _express2.default)();
1820
var port = 1984;
21+
app.use(timeout(5000000));
1922

2023
app.get('/getLikes', async function (req, res) {
2124

0 commit comments

Comments
 (0)