Skip to content
Myr

updated error-pages example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 6f7075b · Browse files · 3 files+41 added−54 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+41 added−54 removed

  • other:+41 added−54 removed

3 files+41 added−54 removed

modified:examples/error-pages/views/404.jade+1 added-4 removed
1- if (error.path)2 h2 Cannot find #{error.path}1h2 Cannot find #{url}3- else4 h2 Page Not Found
modified:examples/error-pages/views/index.jade+4 added-1 removed
3 unmodified lines
4 | visit 5 a(href="/500") 5006 li7 | visit8 a(href="/404") 4048 a(href="/404") 4049 li10 | visit11 a(href='/403') 403
modified:examples/error-pages/app.js+36 added-49 removed