remove unneeded encoding control
This commit is contained in:
parent
970310bf7f
commit
0bf36fa058
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user