all

A catch all style route listener

The all function takes no parameters as it's meant to be a fallback or static site route

Usage

const { router } = require('octoris')

router.route([all()])

Last updated