This commit is contained in:
the-djmaze 2022-12-28 10:59:47 +01:00
parent 4805a377c4
commit 94c4b6c849
9 changed files with 25 additions and 12 deletions

View file

@ -47,6 +47,7 @@ export const
proxy = url =>
SERVER_PREFIX + '/ProxyExternal/'
+ btoa(url.replace(/ /g, '%20')).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, ''),
// + b64EncodeJSONSafe(url.replace(/ /g, '%20')),
/**
* @param {string} type