fixed
A function used to create static Maps
Arguments
Name
Type
Description
uri
String
A piece of the path to have router listen to
Usage
const { router } = require('octoris')
router.route([router.fixed('/')])
// You can also use a normal string value
router.route(['/'])
Last updated
Was this helpful?