Skip to content

Commit c8849d4

Browse files
authored
Merge pull request #90 from Lazztech/shosh-map-bug
revert pmtile caching
2 parents e8d14e1 + 012861f commit c8849d4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ async function bootstrap() {
4949
'^/protomaps/tiles.pmtiles': '/protomaps/maps.pmtiles', // rewrite path
5050
},
5151
changeOrigin: true,
52-
onProxyRes: (proxyRes, req, res) => {
53-
proxyRes.headers['cache-control'] = 'public, max-age=31536000, immutable';
54-
proxyRes.headers['accept-ranges'] = 'bytes';
55-
},
5652
}));
5753

5854
app.useGlobalInterceptors(new ModerationInterceptor());

0 commit comments

Comments
 (0)