Updating ProxiTok pathname scheme #207
This commit is contained in:
parent
1c5ff30f26
commit
c767a39b2c
|
@ -110,7 +110,7 @@ function redirect(url, type) {
|
||||||
|
|
||||||
let pathName = url.pathname.replace(/@.*\/(?=video)/, "");
|
let pathName = url.pathname.replace(/@.*\/(?=video)/, "");
|
||||||
|
|
||||||
return `${randomInstance}${pathName}`;
|
return `${randomInstance}${url.pathname}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function reverse(url) {
|
function reverse(url) {
|
||||||
|
|
Loading…
Reference in New Issue