mirror of
https://github.com/9001/copyparty.git
synced 2025-10-06 03:50:30 +02:00
add og / opengraph / discord embeds
This commit is contained in:
parent
b6cf2d3089
commit
ea270ab9f2
9 changed files with 248 additions and 18 deletions
|
@ -1727,7 +1727,11 @@ class AuthSrv(object):
|
|||
if self.args.e2d or "e2ds" in vol.flags:
|
||||
vol.flags["e2d"] = True
|
||||
|
||||
for ga, vf in [["no_hash", "nohash"], ["no_idx", "noidx"]]:
|
||||
for ga, vf in [
|
||||
["no_hash", "nohash"],
|
||||
["no_idx", "noidx"],
|
||||
["og_ua", "og_ua"],
|
||||
]:
|
||||
if vf in vol.flags:
|
||||
ptn = re.compile(vol.flags.pop(vf))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue