Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doherty committed Feb 18, 2017
1 parent 19c774c commit e76ad61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ This project is a rethought, rebranded, relaunched version of my badly named [ex

## License

Licensed under [ISC License](LICENSE) © [John Doherty](https://twitter.com/CambridgeMVP)
Licensed under [ISC License](LICENSE) © [John Doherty](http://www.johndoherty.info)
4 changes: 2 additions & 2 deletions example/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ function Server() {
app.set('view engine', 'hbs');

// create simple route to test our fake news
app.get('/', function(req, res){
app.get('/', function(req, res) {

// respond to this request with our fake-new content embedded within the BBC News home page
res.merge('fake-news', {
sourceUrl: 'https://www.facebook.com', //http://www.bbc.co.uk/news', // external url to fetch
sourceUrl: 'http://www.bbc.co.uk/news', // external url to fetch
sourcePlaceholder: 'div[data-entityid="container-top-stories#1"]' // css selector to inject our content into
});
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-iframe-replacement",
"version": "0.1.0",
"version": "0.1.1",
"description": "NodeJS + Express replacement for the HTML iframe",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e76ad61

Please sign in to comment.