chore(deps): Update dependencies 🚀

This commit is contained in:
syuilo
2020-06-27 23:25:06 +09:00
parent 3f78f6f6bb
commit 3599f16d22
8 changed files with 673 additions and 566 deletions

View File

@@ -58,7 +58,7 @@ const router = new Router();
//#region static assets
router.get('/assets/*', async ctx => {
router.get('/assets/(.*)', async ctx => {
await send(ctx as any, ctx.path, {
root: client,
maxage: ms('7 days'),
@@ -333,7 +333,7 @@ router.get('/flush', async ctx => {
});
// Render base html for all requests
router.get('*', async ctx => {
router.get('(.*)', async ctx => {
const meta = await fetchMeta();
await ctx.render('base', {
img: meta.bannerUrl,