mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 12:29:17 +02:00
Fixed broken HTML manifest regex
This commit is contained in:
parent
ebf774d5ab
commit
cf555b8aec
2 changed files with 7 additions and 3 deletions
|
@ -77,7 +77,7 @@ def serve_spa(request):
|
|||
return http.HttpResponse(head + tail)
|
||||
|
||||
|
||||
MANIFEST_LINK_REGEX = re.compile(r"<link .*rel=(?:'|\")?manifest(?:'|\")?.*>")
|
||||
MANIFEST_LINK_REGEX = re.compile(r"<link [^>]*rel=(?:'|\")?manifest(?:'|\")?[^>]*>")
|
||||
|
||||
|
||||
def replace_manifest_url(head, new_url):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue