|
1 | 1 | [![Build status][build-image]][build-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Quality Gate][quality-gate-image]][quality-gate-url]
|
2 | 2 |
|
3 |
| -[![NPM dependencies][npm-dependencies-image]][npm-dependencies-url] [](https://renovatebot.com) [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url] |
| 3 | +[](https://renovatebot.com) [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url] |
4 | 4 |
|
5 | 5 | [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![License][license-image]][license-url]
|
6 | 6 |
|
@@ -61,11 +61,11 @@ Legacy method that sets behavior in Mocks Server v1.x
|
61 | 61 |
|
62 | 62 | ## Configuration
|
63 | 63 |
|
64 |
| -By default, the API client is configured to request to `http://localhost:3100/admin`, based in the [default Mocks Server options][mocks-server-options-url] |
| 64 | +By default, the API client is configured to request to `http://127.0.0.1:3100/admin`, based in the [default Mocks Server options][mocks-server-options-url] |
65 | 65 |
|
66 | 66 | You can change both the base url of Mocks Server, and the api path of the administration API using the `cy.mocksConfig` command mentioned above, or the plugin environment variables:
|
67 | 67 |
|
68 |
| -* __`MOCKS_SERVER_BASE_URL`__: Modifies the base url of Mocks Server. Default is `http://localhost:3100`. |
| 68 | +* __`MOCKS_SERVER_BASE_URL`__: Modifies the base url of Mocks Server. Default is `http://127.0.0.1:3100`. |
69 | 69 | * __`MOCKS_SERVER_ADMIN_API_PATH`__: Modifies the path of the Mocks Server administration API. Default is `/admin`.
|
70 | 70 | * __`MOCKS_SERVER_ENABLED`__: Disables requests to Mocks Server, so the commands will not fail even when Mocks Server is not running. This is useful to reuse same tests with mocks and a real API, because commands to change Mocks Server settings will be ignored.
|
71 | 71 |
|
@@ -119,8 +119,6 @@ MIT, see [LICENSE](./LICENSE) for details.
|
119 | 119 | [license-url]: https://github.com/mocks-server/cypress-commands/blob/master/LICENSE
|
120 | 120 | [npm-downloads-image]: https://img.shields.io/npm/dm/@mocks-server/cypress-commands.svg
|
121 | 121 | [npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/cypress-commands
|
122 |
| -[npm-dependencies-image]: https://img.shields.io/david/mocks-server/cypress-commands.svg |
123 |
| -[npm-dependencies-url]: https://david-dm.org/mocks-server/cypress-commands |
124 | 122 | [quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_cypress-commands&metric=alert_status
|
125 | 123 | [quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_cypress-commands
|
126 | 124 | [release-image]: https://img.shields.io/github/release-date/mocks-server/cypress-commands.svg
|
|
0 commit comments