summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-08 20:10:02 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-11-08 20:10:02 +0100
commitc86ae76cad0f94be49fdc78699784d105f58d9a1 (patch)
tree0c274814ce7d80807de07ca082292f62d5838ed4
parent25023c796a9a55cd7ec7ff364cd1229fab958679 (diff)
handler: rename set_uri to rewrite
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-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;