Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const apiProxy = createProxyMiddleware({
changeOrigin: true, // for vhosted sites, changes host header to match to target's host
});

const server = http.createServer(jsonPlaceholderProxy);
const server = http.createServer(apiProxy);

server.listen(3000);
```
Expand Down
Loading