Skip to content

lea-js/leajs-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leajs-redirect

Plugin of leajs.

Manages redirects.

leajs.config

module.exports = {

  // Lookup to translate a url into a redirect. Will bypass other plugins
  // $item (Object) Redirect Object
  // $item.statusCode (Number) Status code for the http response
  // $item.head (Object) Headers for the http response
  // $item.body (String) Body for the http response
  redirect: {}, // Object

  // …

}

License

Copyright (c) 2018 Paul Pflugradt Licensed under the MIT license.

About

manages redirects

Resources

Stars

Watchers

Forks

Packages

No packages published