rearrange dependencies. fixes #255

This commit is contained in:
Danny Coates 2017-07-21 20:00:38 -07:00
parent 834df8526f
commit 6393d70a33
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 322 additions and 305 deletions

View file

@ -19,8 +19,6 @@ const mozlog = require('./log.js');
const log = mozlog('send.server');
const STATIC_PATH = path.join(__dirname, '../public');
const L20N = path.join(__dirname, '../node_modules/l20n');
const LOCALES = path.join(__dirname, '../public/locales');
const app = express();
@ -73,8 +71,6 @@ app.use(
);
app.use(bodyParser.json());
app.use(express.static(STATIC_PATH));
app.use('/l20n', express.static(L20N));
app.use('/locales', express.static(LOCALES));
app.get('/', (req, res) => {
res.render('index');