Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 17, 2023
1 parent 148a666 commit b836b7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module.exports = proxy;
您可以使用功能性工具来增强模拟效果。[#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)

```js
const delay = require('mocker-api/lib/delay');
const delay = require('mocker-api/delay');
const noProxy = process.env.NO_PROXY === 'true';

const proxy = {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module.exports = proxy;
You can use functional tool to enhance mock. [#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)

```js
const delay = require('mocker-api/lib/delay');
const delay = require('mocker-api/delay');
const noProxy = process.env.NO_PROXY === 'true';

const proxy = {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/delay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MockerProxyRoute, MockerResult, MockerResultFunction } from './';
* You can use functional tool to enhance mock. [#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)
*
* ```js
* const delay = require('mocker-api/lib/delay');
* const delay = require('mocker-api/delay');
* const noProxy = process.env.NO_PROXY === 'true';
*
* const proxy = {
Expand Down

0 comments on commit b836b7f

Please sign in to comment.