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