summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 26aa9fb1..edc015c5 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1065,6 +1065,10 @@ nxt_router_temp_conf(nxt_task_t *task)
goto fail;
}
+#if (NXT_HAVE_NJS)
+ nxt_http_register_js_proto(rtcf->tstr_state->jcf);
+#endif
+
tmp = nxt_mp_create(1024, 128, 256, 32);
if (nxt_slow_path(tmp == NULL)) {
goto fail;