example error pages

This commit is contained in:
Rich Harris
2018-02-17 18:39:46 -05:00
parent 1f9b212794
commit ad0da849fb
6 changed files with 98 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
// This file is generated by Sapper — do not edit it!
export const timestamp = 1518906946124;
export const timestamp = 1518910653621;
export const assets = [
"favicon.png",
@@ -11,22 +11,18 @@ export const assets = [
];
export const shell = [
"/client/_.0.15d69aa40f5cf2c235b5.js",
"/client/blog.1.15d69aa40f5cf2c235b5.js",
"/client/blog_$slug$.2.15d69aa40f5cf2c235b5.js",
"/client/about.3.15d69aa40f5cf2c235b5.js",
"/client/_5xx.4.15d69aa40f5cf2c235b5.js",
"/client/_4xx.5.15d69aa40f5cf2c235b5.js",
"/client/6.6.15d69aa40f5cf2c235b5.js",
"/client/main.15d69aa40f5cf2c235b5.js",
"/client/0.b91f3b4b0888fc3dc282.hot-update.js",
"/client/b91f3b4b0888fc3dc282.hot-update.json"
"/client/_.0.6b48eb953c3d3763d72b.js",
"/client/blog.1.6b48eb953c3d3763d72b.js",
"/client/blog_$slug$.2.6b48eb953c3d3763d72b.js",
"/client/about.3.6b48eb953c3d3763d72b.js",
"/client/_5xx.4.6b48eb953c3d3763d72b.js",
"/client/_4xx.5.6b48eb953c3d3763d72b.js",
"/client/6.6.6b48eb953c3d3763d72b.js",
"/client/main.6b48eb953c3d3763d72b.js"
];
export const routes = [
{ pattern: /^\/?$/ },
{ pattern: /^\/4xx\/?$/ },
{ pattern: /^\/5xx\/?$/ },
{ pattern: /^\/about\/?$/ },
{ pattern: /^\/blog\/?$/ },
{ pattern: /^\/blog(?:\/([^\/]+))?\/?$/ }