Fix bug where author index cache is not invalidated correctly

This commit is contained in:
Robin Malley 2022-11-25 02:25:36 +00:00
parent afe144d554
commit 8b03c78346
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ local function read_get(req)
--If this isn't unlisted, dirty everywhere the hit counter is shown
cache.dirty(string.format("%s",config.domain))
cache.dirty(string.format("%s/%s",config.domain,ps.idp)) -- This place to read this post
cache.dirty(string.format("%s/%s",config.domain,ps.idp)) -- The author's index page
cache.dirty(string.format("%s.%s",config.domain,ps.idp)) -- The author's index page
assert(text)
http_response(req,200,text)