hola-server 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/core/url.js +2 -6
  2. package/package.json +1 -1
package/core/url.js CHANGED
@@ -5,15 +5,11 @@ const url = function (url, method) {
5
5
  const settings = get_settings();
6
6
  const axios_config = settings.axios;
7
7
 
8
- if (axios_config) {
9
- axios.defaults.retry = axios_config.retry;
10
- axios.defaults.retryDelay = axios_config.retry_delay;
11
- }
12
-
13
8
  return function (config) {
14
9
  let params = {
15
10
  url: url,
16
- method: method
11
+ method: method,
12
+ validateStatus: false
17
13
  };
18
14
  if (axios_config.proxy) {
19
15
  params.proxy = axios_config.proxy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hola-server",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "a meta programming framework used to build nodejs restful api",
5
5
  "main": "index.js",
6
6
  "scripts": {