summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 56720fb..6ec18af 100644
--- a/handler.c
+++ b/handler.c
@@ -100,7 +100,7 @@ handle_command(struct json_script_ctx *ctx, const char *name,
void (*func)(struct json_script_ctx *ctx, struct blob_attr *data);
} cmds[] = {
{ "redirect", handle_redirect },
- { "set_uri", handle_set_uri }
+ { "rewrite", handle_set_uri }
};
int i;