diff options
Diffstat (limited to 'src/clog.c')
-rw-r--r-- | src/clog.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -13,8 +13,7 @@ #include "../lib/md4c/src/md4c-html.c" #include "assets.h" -// FIXME: Why does compilation fail if this is a .c file? -#include "queries.h" +#include "queries.h" // FIXME: Compilation fail if this is a .c file. KORE_SECCOMP_FILTER("clog", KORE_SYSCALL_ALLOW(bind), @@ -225,8 +224,7 @@ int http_err_resp( int redirect(struct http_request *req) { http_response_header(req, "Location", "/"); - http_response(req, HTTP_STATUS_MOVED_PERMANENTLY, NULL, 0); - + http_response(req, HTTP_STATUS_TEMPORARY_REDIRECT, NULL, 0); return KORE_RESULT_OK; } |