mirror of https://gitlab.com/litecord/litecord.git
embed.sanizier: quickfix for proxify()
This commit is contained in:
parent
0631f007c1
commit
1061eda096
|
|
@ -106,7 +106,7 @@ def _make_md_req_url(config, scope: str, url):
|
|||
def proxify(url, *, config=None) -> str:
|
||||
"""Return a mediaproxy url for the given EmbedURL. Returns an
|
||||
/img/ scope."""
|
||||
config, _sess = _mk_cfg_sess(config, None)
|
||||
config, _sess = _mk_cfg_sess(config, False)
|
||||
|
||||
if isinstance(url, str):
|
||||
url = EmbedURL(url)
|
||||
|
|
|
|||
Loading…
Reference in New Issue