diff options
Diffstat (limited to 'nginx/t/stream_js_fetch_https.t')
-rw-r--r-- | nginx/t/stream_js_fetch_https.t | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nginx/t/stream_js_fetch_https.t b/nginx/t/stream_js_fetch_https.t index 987a896a..f397ea70 100644 --- a/nginx/t/stream_js_fetch_https.t +++ b/nginx/t/stream_js_fetch_https.t @@ -47,10 +47,6 @@ http { location /njs { js_content test.njs; } - - location /engine { - js_content test.engine; - } } server { @@ -163,10 +159,6 @@ $t->write_file('test.js', <<EOF); r.return(200, njs.version); } - function engine(r) { - r.return(200, njs.engine); - } - function preread(s) { s.on('upload', function (data, flags) { if (data.startsWith('GO')) { @@ -201,7 +193,7 @@ $t->write_file('test.js', <<EOF); (r.status == 200) ? s.allow(): s.deny(); } - export default {njs: test_njs, engine, preread, access_ok, access_nok}; + export default {njs: test_njs, preread, access_ok, access_nok}; EOF my $d = $t->testdir(); |