Redid HTTP error pages.
This commit is contained in:
parent
312be0e7fe
commit
3e14f63bdb
16 changed files with 261 additions and 92 deletions
11
build.js
11
build.js
|
@ -22,8 +22,19 @@ const fs = require('fs');
|
|||
{ source: 'redir-fedi.js', target: '/assets', name: 'redir-fedi.{hash}.js', },
|
||||
],
|
||||
css: [
|
||||
{ source: 'errors.css', target: '/', name: 'errors.css', },
|
||||
{ source: 'misuzu.css', target: '/assets', name: 'misuzu.{hash}.css', },
|
||||
],
|
||||
twig: [
|
||||
{ source: 'errors/400', target: '/', name: 'error-400.html', },
|
||||
{ source: 'errors/401', target: '/', name: 'error-401.html', },
|
||||
{ source: 'errors/403', target: '/', name: 'error-403.html', },
|
||||
{ source: 'errors/404', target: '/', name: 'error-404.html', },
|
||||
{ source: 'errors/405', target: '/', name: 'error-405.html', },
|
||||
{ source: 'errors/500', target: '/', name: 'error-500.html', },
|
||||
{ source: 'errors/502', target: '/', name: 'error-502.html', },
|
||||
{ source: 'errors/503', target: '/', name: 'error-503.html', },
|
||||
],
|
||||
};
|
||||
|
||||
const files = await assproc.process(env, tasks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue