Skip to content

Commit

Permalink
migrated from jade to pug and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
damzog committed Sep 21, 2022
1 parent 18cc56e commit fb32e91
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
applications:
- name: cf-nodejs
memory: 512M
memory: 64M
instances: 1
random-route: true
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fb32e91

Please sign in to comment.