12345678910111213 |
- var express = require('express');
- var path = require('path');
- var routes = require('./routes/index');
-
- var app = express();
-
- app.set('views', path.join(__dirname, 'views'));
- app.set('view engine', 'jade');
- app.use(express.static(path.join(__dirname, 'public')));
-
- app.use('/', routes);
-
- module.exports = app;
|