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

Commit

Permalink
Merge pull request #159 from mocks-server/release
Browse files Browse the repository at this point in the history
Release v4.0.0
  • Loading branch information
javierbrea authored Dec 5, 2021
2 parents b0a3de7 + 6b0b4c7 commit 2ca052a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "mocks-server",
"projectKey": "mocks-server_admin-api-client"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ example();

## Configuration

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)
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)

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:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"mocks:install": "cd mocks && npm i",
"mocks:ci": "cd mocks && npm run mocks:ci",
"test": "jest",
"test:unit": "npm run mocks:install && start-server-and-test mocks:ci tcp:3200 test",
"test:unit": "npm run mocks:install && start-server-and-test mocks:ci tcp:127.0.0.1:3200 test",
"prepare": "is-ci || husky install"
},
"dependencies": {
Expand Down

0 comments on commit 2ca052a

Please sign in to comment.