From c86ae76cad0f94be49fdc78699784d105f58d9a1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 8 Nov 2015 20:10:02 +0100 Subject: [PATCH] handler: rename set_uri to rewrite Signed-off-by: Felix Fietkau --- handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1