Skip to content

Commit

Permalink
docs(options): remove the duplicated word (#455)
Browse files Browse the repository at this point in the history
* docs(options): remove the duplicated word

Changed `...to make requests server side requests` to `...to make server side requests`.

* docs(options): change the order of the paragraphs

Change the order of the paragraphs based on the [## baseUrl section](https://axios.nuxtjs.org/options/#baseurl).

Added:
- the backticks around a `browserBaseURL` word;
- a dot at the end of a sentence.

Co-authored-by: Nikola Zeravcic <[email protected]>
  • Loading branch information
zeravcic and Nikola Zeravcic authored Dec 15, 2020
1 parent ae1b398 commit 030b6b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/content/en/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Default value of `prefix` is `/`.

* Default: `http://[HOST]:[PORT][PREFIX]`

Defines the base URL which is used and prepended to make requests server side requests.
Defines the base URL which is used and prepended to make server side requests.

Environment variable `API_URL` can be used to **override** `baseURL`.

Expand All @@ -71,12 +71,13 @@ Environment variable `API_URL` can be used to **override** `baseURL`.
## `browserBaseURL`

* Default: `baseURL`
**WARNING:** when the `proxy` option is enabled the default for browserBaseURL becomes `prefix` instead of `baseURL`

Defines the base URL which is used and prepended to make client side requests.

The environment variable `API_URL_BROWSER` can be used to **override** `browserBaseURL`.

**WARNING:** when the `proxy` option is enabled the default for `browserBaseURL` becomes `prefix` instead of `baseURL`.

## `https`

* Default: `false`
Expand Down

0 comments on commit 030b6b7

Please sign in to comment.