remove unneeded encoding control

This commit is contained in:
Simon Martín 2017-11-07 16:02:37 +01:00
parent 970310bf7f
commit 0bf36fa058

View File

@ -1,9 +1,6 @@
const fs = require('fs');
const timeoutErrorVectorTile = fs.readFileSync(
__dirname + '/../../../assets/render-timeout-fallback.mvt',
{ encoding: null }
);
const timeoutErrorVectorTile = fs.readFileSync(__dirname + '/../../../assets/render-timeout-fallback.mvt');
module.exports = function vectorError() {
return function vectorErrorMiddleware(err, req, res, next) {