Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 2ca052a

Browse files
authored
Merge pull request #159 from mocks-server/release
Release v4.0.0
2 parents b0a3de7 + 6b0b4c7 commit 2ca052a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sonarlint.connectedMode.project": {
3+
"connectionId": "mocks-server",
4+
"projectKey": "mocks-server_admin-api-client"
5+
}
6+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ example();
7676

7777
## Configuration
7878

79-
By default, the client is configured to request to `http://localhost:3100/admin`, based in the [default options of Mocks Server](https://www.mocks-server.org/docs/configuration-options)
79+
By default, the client is configured to request to `http://127.0.0.1:3100/admin`, based in the [default options of Mocks Server](https://www.mocks-server.org/docs/configuration-options)
8080

8181
You can change both the base url of Mocks Server, and the path of the [Admin API plugin][plugin-admin-api-url] using the `config` method:
8282

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"mocks:install": "cd mocks && npm i",
3131
"mocks:ci": "cd mocks && npm run mocks:ci",
3232
"test": "jest",
33-
"test:unit": "npm run mocks:install && start-server-and-test mocks:ci tcp:3200 test",
33+
"test:unit": "npm run mocks:install && start-server-and-test mocks:ci tcp:127.0.0.1:3200 test",
3434
"prepare": "is-ci || husky install"
3535
},
3636
"dependencies": {

0 commit comments

Comments
 (0)