Skip to content

Commit a6c6dc6

Browse files
committed
docs: avoid test dir.
1 parent 7d9bb93 commit a6c6dc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const server = http.createServer((req, res) => {
155155
### Serving custom directory
156156

157157
```js
158-
const fileServer = new statik.Server(__dirname + '/../fixtures', {
158+
const fileServer = new statik.Server(__dirname + '/../public', {
159159
directoryCallback (pathname, req, res) {
160160
res.writeHead(200, {
161161
'Content-Type': 'text/html'

0 commit comments

Comments
 (0)