Skip to content

Commit 86db19a

Browse files
authored
Update README.md
1 parent b06bc27 commit 86db19a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ GET /
184184
### Static file server
185185

186186
You can use JSON Server to serve your HTML, JS and CSS, simply create a `./public` directory
187-
or use `--static`.
187+
or use `--static` to set a different static files directory.
188188

189189
```bash
190190
mkdir public
@@ -193,7 +193,7 @@ json-server db.json
193193
```
194194

195195
```bash
196-
json-server db.json --static ./static
196+
json-server db.json --static ./some-other-dir
197197
```
198198

199199
### Alternative port

0 commit comments

Comments
 (0)