aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clog.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/clog.c b/src/clog.c
index 459d77d..6364c49 100644
--- a/src/clog.c
+++ b/src/clog.c
@@ -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;
}