fix: expose page SEO fields and invalidate shared page cache
This commit is contained in:
@@ -19,7 +19,7 @@ def notify_frontend_revalidate(sender, instance, **kwargs):
|
||||
try:
|
||||
requests.post(
|
||||
settings.FRONTEND_REVALIDATE_URL,
|
||||
json={"tags": [f"page:{instance.id}", instance.url_path]},
|
||||
json={"tags": ["wagtail-pages", f"page:{instance.id}", instance.url_path]},
|
||||
headers={"Authorization": f"Bearer {settings.REVALIDATE_SECRET}"},
|
||||
timeout=3,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user