chore: remove progress

master
pooya parsa 2019-03-24 00:06:19 +04:30
parent b9d485e47b
commit 7903bde1e9
3 changed files with 0 additions and 15 deletions

View File

@ -11,8 +11,6 @@
✓ Fetch Style requests
✓ Integrated with Nuxt.js Progressbar while making requests
✓ Integrated with [Proxy Module](https://github.com/nuxt-community/proxy-module)
✓ Auto retry requests with [http-retry](https://github.com/softonic/http-retry)

View File

@ -34,18 +34,6 @@ Environment variable `API_URL_BROWSER` can be used to **override** `browserBaseU
If set to `true`, `http://` in both `baseURL` and `browserBaseURL` will be changed into `https://`.
### `progress`
* Default: `true`
Integrate with Nuxt.js progress bar to show a loading bar while making requests. (Only on browser, when loading bar is available.)
You can also disable progress bar per request using `progress` config.
```js
this.$http.$get('URL', { progress: false })
```
### `proxy`
* Default: `false`

View File

@ -36,7 +36,6 @@ function httpModule(_moduleOptions) {
baseURL: `http://${defaultHost}:${defaultPort}${prefix}`,
browserBaseURL: null,
debug: false,
progress: true,
proxyHeaders: true,
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip'],
proxy: false,