mirror of https://github.com/sundowndev/http.git
chore: remove progress
parent
b9d485e47b
commit
7903bde1e9
|
@ -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)
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue