Skip to content

Commit

Permalink
Adjust example cmd and directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
DawMatt authored and daveshanley committed Feb 24, 2025
1 parent 55d84f6 commit 6cc04c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static-mock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The `--static-mock-dir` should point to a directory that contains the following
1. **Directory Structure:**

```
/mocks/
./mocks/
├── mock-definitions/
│ ├── get-test-mock.json
└── body-jsons/
Expand Down Expand Up @@ -203,7 +203,7 @@ The `--static-mock-dir` should point to a directory that contains the following
4. **Run wiretap**:

```bash
wiretap -u "http://localhost:8089" --static-mock-dir "/path/to/mocks" --port 80
wiretap -u "http://localhost:8089" --static-mock-dir ./mocks --port 80
```

Note: Any requests not matching a static mock will be proxied to the URL specified by the `-u` parameter.
Expand Down

0 comments on commit 6cc04c9

Please sign in to comment.