Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTTP: added TSTR validation flag to the rewrite option.
This is to improve error messages for rewrite configuration. Take the configuration as an example: { "rewrite": "`${a + " } Previously, when applying it the user would see this error message: failed to apply previous configuration After this change, the user will see this improved error message: the previous configuration is invalid: "SyntaxError: Unexpected end of input in default:1" in the "rewrite" value.
- Loading branch information