Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-20 | NJS: variable access support | Zhidao HONG | 1 | -0/+49 | |
This commit introduces the 'vars' JavaScript object to NJS, enabling direct access to native variables such as $uri and $arg_foo. The syntax is `${vars.var_name}` or `${'vars[var_name]'}`. For example: { "action": { "share": "`/www/html${vars.uri}`" } } | |||||
2023-01-17 | NJS: added the keys API for the request objects. | Zhidao HONG | 1 | -33/+100 | |
This commit is to loop through the request objects headers, arguments, and cookies. | |||||
2022-11-22 | NJS: added http request prototype. | Zhidao HONG | 1 | -0/+273 | |