source: trip-planner-front/node_modules/http-proxy-middleware/lib/errors.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 554 bytes
Line 
1/* eslint-disable max-len */
2
3module.exports = {
4 ERR_CONFIG_FACTORY_TARGET_MISSING:
5 '[HPM] Missing "target" option. Example: {target: "http://www.example.org"}',
6 ERR_CONTEXT_MATCHER_GENERIC:
7 '[HPM] Invalid context. Expecting something like: "/api" or ["/api", "/ajax"]',
8 ERR_CONTEXT_MATCHER_INVALID_ARRAY:
9 '[HPM] Invalid context. Expecting something like: ["/api", "/ajax"] or ["/api/**", "!**.html"]',
10 ERR_PATH_REWRITER_CONFIG:
11 '[HPM] Invalid pathRewrite config. Expecting object with pathRewrite config or a rewrite function'
12}
Note: See TracBrowser for help on using the repository browser.