From 8b03c78346cac22eb8e703ef7eac2c13a2d8d895 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Fri, 25 Nov 2022 02:25:36 +0000 Subject: [PATCH] Fix bug where author index cache is not invalidated correctly --- src/lua/endpoints/read_get.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/endpoints/read_get.lua b/src/lua/endpoints/read_get.lua index 31a78fe..3bdca26 100644 --- a/src/lua/endpoints/read_get.lua +++ b/src/lua/endpoints/read_get.lua @@ -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)