kjh
This commit is contained in:
@@ -622,6 +622,7 @@ process.on('uncaughtException', err => {
|
||||
app.use(async (req, res) => {
|
||||
if (req.url?.pathname?.endsWith('.map')) {
|
||||
res.writeHead(404, { 'Content-Type': 'text/plain' }).end('Not Found');
|
||||
req.url.pathname = '/handled_map_bypass';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user