aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2017-08-31 20:27:31 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2017-08-31 20:27:31 +0300
commit92d8cbb1d350efcfd1051c3829f937c4d0138b3c (patch)
tree76dfd776b525607f6931adc73e5cb9773a75a50b /nginx/ngx_http_js_module.c
parent554a96bf68b50c1b3c832bf77ac5a526a485dd98 (diff)
downloadnjs-92d8cbb1d350efcfd1051c3829f937c4d0138b3c.tar.gz
njs-92d8cbb1d350efcfd1051c3829f937c4d0138b3c.zip
Interactive shell: console object.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index e81c3116..e589f11a 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -1322,7 +1322,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_memzero(&options, sizeof(njs_vm_opt_t));
options.mcp = mcp;
- options.externals = &externals;
+ options.externals_hash = &externals;
jlcf->vm = njs_vm_create(&options);
if (jlcf->vm == NULL) {