From e4f3bbbaffcc7315f73ecf55a52ad61814d96100 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 23 Mar 2016 02:52:26 +0100 Subject: NMS: Fix cache invalidation etc --- web/nms.gathering.org/api/write/comment-add | 2 +- web/nms.gathering.org/api/write/comment-change | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'web/nms.gathering.org/api/write') diff --git a/web/nms.gathering.org/api/write/comment-add b/web/nms.gathering.org/api/write/comment-add index 26ff734..bcea6dc 100755 --- a/web/nms.gathering.org/api/write/comment-add +++ b/web/nms.gathering.org/api/write/comment-add @@ -20,5 +20,5 @@ $nms::web::cc{'max-age'} = '0'; $nms::web::cc{'stale-while-revalidate'} = '0'; $nms::web::json{'state'} = 'ok'; -print "X-ban: /api/private/comments\n"; +print "X-ban: /api/read/comments\n"; finalize_output(); diff --git a/web/nms.gathering.org/api/write/comment-change b/web/nms.gathering.org/api/write/comment-change index fb7da54..0bdabc0 100755 --- a/web/nms.gathering.org/api/write/comment-change +++ b/web/nms.gathering.org/api/write/comment-change @@ -21,4 +21,5 @@ $nms::web::cc{'max-age'} = '0'; $nms::web::cc{'stale-while-revalidate'} = '0'; $nms::web::json{'state'} = 'ok'; +print "X-ban: /api/read/comments\n"; finalize_output(); -- cgit v1.2.3