8 lines
286 B

  1. {
  2. "rewrite": [
  3. { "from": "/css/*", "to": "/build/styles/$1" },
  4. { "from": "/npm/*", "to": "http://registry.npmjs.org/$1" },
  5. { "from": "/broken/*", "to": "http://localhost:9999" },
  6. { "from": "/:user/repos/:name", "to": "https://api.github.com/repos/:user/:name" }
  7. ]
  8. }