mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-23 03:31:07 +00:00
fix NameError in CachedStaticResource._handle
This commit is contained in:
parent
02564c7295
commit
d579ec634d
|
@ -262,7 +262,7 @@ class CachedStaticResource(StaticResource):
|
|||
try:
|
||||
return web.Response(
|
||||
body = self.cache[rel_url],
|
||||
content_type = guess_type(path)[0]
|
||||
content_type = guess_type(rel_url)[0]
|
||||
)
|
||||
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in a new issue