diff options
| author | Gabor Javorszky <g.javorszky@f5.com> | 2023-12-07 15:07:24 +0000 |
|---|---|---|
| committer | Dan Callahan <dan.callahan@gmail.com> | 2024-02-20 12:35:07 +0000 |
| commit | d24ae5a9a4b1140695e027087e72dcfdeb484ec0 (patch) | |
| tree | 390d886dd48506983d5cb3f0da4ace28b511ddad /test/python/header_fields/wsgi.py | |
| parent | 53648ed56488c73aaed94c3258fc4136bc4cba6d (diff) | |
| download | unit-d24ae5a9a4b1140695e027087e72dcfdeb484ec0.tar.gz unit-d24ae5a9a4b1140695e027087e72dcfdeb484ec0.tar.bz2 | |
Add additional replace rules for node:* modules
In that particular issue the compiled nuxt files end up importing the
http module as node:http rather than http only. This bypasses unit's
custom loader implementation which only check for the http or unit-http
modules, and their websocket counterparts.
This changeset adds replace sources for both the node:http and
node:websocket import signatures.
Closes: https://github.com/nginx/unit/issues/1013
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'test/python/header_fields/wsgi.py')
0 files changed, 0 insertions, 0 deletions
