mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 10:39:09 +00:00
add stylelint
This commit is contained in:
parent
47a2e5694e
commit
928c9cf07c
83 changed files with 10807 additions and 1770 deletions
4
packages/roleypoly-server/util/error.js
Normal file
4
packages/roleypoly-server/util/error.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
export default ($, ctx) => {
|
||||
ctx.res.statusCode = ctx.status
|
||||
return $.ui.renderError(null, ctx.req, ctx.res, '/_error', {})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue