Skip to content

Commit

Permalink
Updated all dependencies, removed unused ejs, and fixed breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Pruitt committed Jul 10, 2014
1 parent d35dc93 commit d9a80fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions plugin-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
"body-parser": "~1.4.3",
"cookie-parser": "~1.3.2",
"method-override": "~2.1.0",
"optimist": "~0.3.5",
"ejs": "~0.8.3",
"ejs-locals": "~1.0.2",
"optimist": "~0.6.1",
"seneca": "~0.5.18",
"connect": "~2.7.4"
"connect": "~3.0.1",
"serve-static": "~1.3.1"
},
"files": [
"app.js"
Expand Down
4 changes: 2 additions & 2 deletions plugin-web/page-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// use the connect module to deliver the static pages
var connect = require('connect')

var serveStatic = require('serve-static')


module.exports = function( options, register ) {
Expand All @@ -23,7 +23,7 @@ module.exports = function( options, register ) {
var app = connect()

// just serve static content from the web folder
app.use(connect.static(__dirname+'/web'))
app.use(serveStatic(__dirname+'/web'))


// register this plugin with seneca
Expand Down

0 comments on commit d9a80fb

Please sign in to comment.