summaryrefslogtreecommitdiff
path: root/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'api.js')
-rw-r--r--api.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/api.js b/api.js
index 7b38de4..915530b 100644
--- a/api.js
+++ b/api.js
@@ -35,21 +35,24 @@ const notif = webstomp.over(new WebSocket(API_WS_URL,
function getMap(url) {
return request({
uri: API_MAP_URL + url,
- json: true
+ json: true,
+ forever: true
});
}
function getFE(url) {
return request({
uri: API_FE_URL + url,
- json: true
+ json: true,
+ forever: true
});
}
function postBE(url) {
return request.post({
uri: API_BE_URL + url,
- json: true
+ json: true,
+ forever: true
});
}