diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-23 02:52:26 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-23 02:52:26 +0100 |
commit | e4f3bbbaffcc7315f73ecf55a52ad61814d96100 (patch) | |
tree | f47553d841556ddd8c79184ad4d3262cdd11af24 /web/nms.gathering.org/api/write | |
parent | 6ba9bacb3fee3765a74c603c7fd2f9b492c5329d (diff) |
NMS: Fix cache invalidation etc
Diffstat (limited to 'web/nms.gathering.org/api/write')
-rwxr-xr-x | web/nms.gathering.org/api/write/comment-add | 2 | ||||
-rwxr-xr-x | web/nms.gathering.org/api/write/comment-change | 1 |
2 files changed, 2 insertions, 1 deletions
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(); |