diff --git a/manifest.yml b/manifest.yml index f3cc3c6..e5b4f71 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,6 +1,6 @@ --- applications: - name: cf-nodejs - memory: 512M + memory: 64M instances: 1 random-route: true diff --git a/package.json b/package.json index 468d65c..e21d73e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cf-nodejs", "version": "1.0.0", "dependencies": { - "express": "^4.13.4", - "jade": "^1.11.0" + "express": "^4.18.1", + "pug": "^3.0.2" } } diff --git a/server.js b/server.js index 151b2d8..557a8b0 100644 --- a/server.js +++ b/server.js @@ -4,7 +4,7 @@ var cf_app = require( './app/vcap_application') var cf_svc = require( './app/vcap_services') app.set( 'views', __dirname + '/views') -app.set( 'view engine', 'jade') +app.set( 'view engine', 'pug') app.use( express.static( __dirname + '/public')) app.get( '/', function ( req, res) { diff --git a/views/pages/index.jade b/views/pages/index.pug similarity index 100% rename from views/pages/index.jade rename to views/pages/index.pug diff --git a/views/partials/content.jade b/views/partials/content.pug similarity index 100% rename from views/partials/content.jade rename to views/partials/content.pug diff --git a/views/partials/footer.jade b/views/partials/footer.pug similarity index 100% rename from views/partials/footer.jade rename to views/partials/footer.pug diff --git a/views/partials/header.jade b/views/partials/header.pug similarity index 100% rename from views/partials/header.jade rename to views/partials/header.pug