Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 18, 2022
1 parent 15aceab commit 21c19fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/maps/server/mvt/mvt_routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function sendResponse(

const cacheControl = `public, max-age=${CACHE_TIMEOUT_SECONDS}`;
const lastModified = `${new Date().toUTCString()}`;
if (tileStream && headers) {
if (tileStream) {
// use the content-encoding and content-length headers from elasticsearch if they exist
const { 'content-length': contentLength, 'content-encoding': contentEncoding } = headers;
return response.ok({
Expand Down

0 comments on commit 21c19fb

Please sign in to comment.