"use strict";
// I M P O R T
import html from "choo/html";
// U T I L S
import page404 from "../views/404";
import redirects from "../data/redirects.json";
// E X P O R T
export default state => {
const redirectUrl = redirects[state.href];
if (redirectUrl) {
return html`