DemocracyOS/app

View on GitHub
lib/404/404.js

Summary

Maintainability
A
0 mins
Test Coverage
import page from 'page'

/**
 * Render 404 on backend
 */

page('*', (ctx) => {
  window.location = ctx.path
})