From d533e8a2723f3ccb00d82c693a5781781679f14a Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 17 Nov 2020 20:48:39 +0200 Subject: [PATCH] add --- swarmlab-app/src/run/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 728673d..666d49c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -11,6 +11,9 @@ const urlExistSync = require("url-exist-sync"); var express = require('express'); app.use(express.json()); +const axios = require('axios'); +axios.defaults.timeout = 30000 + const helmet = require('helmet'); app.use(helmet());