You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
293 B

module.exports = {
rewrite: [
{ from: '/css/*', 'to': '/build/styles/$1' },
{ from: '/npm/*', 'to': 'http://registry.npmjs.org/$1' },
{ from: '/broken/*', 'to': 'http://localhost:9999' },
{ from: '/:user/repos/:name', 'to': 'https://api.github.com/repos/:user/:name' }
]
}