Skip to content

Commit

Permalink
Merge pull request #880 from mickelus/patch-1
Browse files Browse the repository at this point in the history
Fixed what appears to be a typo in the user guide
  • Loading branch information
Swiip committed Nov 18, 2015
2 parents 3912623 + 9dca1e0 commit f80931a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ As mentioned in the introduction, it's considered a good process to keep using t

At this point, your application will have to launch requests both to request static files of the front end project, and dynamic routes of your backend.

The cleaner way to address this need is to add a proxy feature to the Browser Sync server. This feature is inactive by default as we can't know about your backend configuration, but it's in the comments and easy to start. Look in `gulp/serve.js`, you've got a line in the comments:
The cleaner way to address this need is to add a proxy feature to the Browser Sync server. This feature is inactive by default as we can't know about your backend configuration, but it's in the comments and easy to start. Look in `gulp/server.js`, you've got a line in the comments:
```javascript
server.middleware = proxyMiddleware('/users', {target: 'http://jsonplaceholder.typicode.com', proxyHost: 'jsonplaceholder.typicode.com'});
```
Expand Down

0 comments on commit f80931a

Please sign in to comment.