You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you want to do with Clappr?
Hello, I am trying to rewrite .ts segment path using js What have you tried so far?
(function(fetch) {
window.fetch = function(input, init) {
if (varz && typeof input === "string" && input.indexOf('.ts') !== -1) {
// Replace the old domain with the new domain
input = input.replace(/https?://\w+.\w+.lol/, "https://" + domain);
}
return fetch.call(this, input, init);
};
})(window.fetch);
But this approach does not work in iOS browsers!
The text was updated successfully, but these errors were encountered:
What do you want to do with Clappr?
Hello, I am trying to rewrite .ts segment path using js
What have you tried so far?
(function(fetch) {
window.fetch = function(input, init) {
if (varz && typeof input === "string" && input.indexOf('.ts') !== -1) {
// Replace the old domain with the new domain
input = input.replace(/https?://\w+.\w+.lol/, "https://" + domain);
}
return fetch.call(this, input, init);
};
})(window.fetch);
But this approach does not work in iOS browsers!
The text was updated successfully, but these errors were encountered: