more fallback

This commit is contained in:
Simon Knott 2025-01-27 14:35:18 +01:00
parent d199c51bdf
commit 662d3b2ef0
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -46,7 +46,7 @@ export class MockingProxy extends ChannelOwner<channels.MockingProxyChannel> {
async instrumentBrowserRequest(route: network.Route) {
const isSimpleCORS = false; // TODO: implement simple CORS
if (isSimpleCORS)
return await route.continue();
return await route.fallback();
const request = route.request();
const correlation = request._guid.split('@')[1];