diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-05-20 19:25:16 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-05-20 19:27:21 +0200 |
commit | e68a315bcf2bd681466c27026fea73598071bda6 (patch) | |
tree | 57fb5e32babf8757b00524f9c522c59491501621 /src/afb-hsrv.h | |
parent | c044f0961a1c276a13791e7559027505c5292073 (diff) |
fix one-page-application redirect
Change-Id: I80c4dbda86cd1bc2847dea5b1dea304f41c551e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hsrv.h')
-rw-r--r-- | src/afb-hsrv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hsrv.h b/src/afb-hsrv.h index cd9ba019..913de80c 100644 --- a/src/afb-hsrv.h +++ b/src/afb-hsrv.h @@ -27,6 +27,6 @@ extern void afb_hsrv_put(struct afb_hsrv *hsrv); extern void afb_hsrv_stop(struct afb_hsrv *hsrv); extern int afb_hsrv_start(struct afb_hsrv *hsrv, uint16_t port, unsigned int connection_timeout); extern int afb_hsrv_set_cache_timeout(struct afb_hsrv *hsrv, int duration); -extern int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, const char *alias, int priority); +extern int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, const char *alias, int priority, int relax); extern int afb_hsrv_add_handler(struct afb_hsrv *hsrv, const char *prefix, int (*handler) (struct afb_hreq *, void *), void *data, int priority); |