remove experimental pseudo-redirector for the time being

This commit is contained in:
Raymond Hill 2018-04-02 04:47:24 -04:00
parent 67c1d90d7a
commit fd78f9b743
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 12 deletions

View File

@ -200,18 +200,7 @@ vAPI.net.registerListeners = function() {
let onBeforeRequestClient = this.onBeforeRequest.callback;
let onBeforeRequest = function(details) {
normalizeRequestDetails(details);
let r = onBeforeRequestClient(details);
if (
r !== undefined &&
r.redirectUrl !== undefined &&
details.type === 'xmlhttprequest'
) {
r.redirectUrl = pseudoRedirector.start(
details.requestId,
r.redirectUrl
);
}
return r;
return onBeforeRequestClient(details);
};
if ( onBeforeRequest ) {