fix: Public assets path

This commit is contained in:
Tom Moor
2020-08-23 20:44:44 -07:00
parent 5aa092853b
commit b01778a39f

View File

@ -39,7 +39,7 @@ const readIndexFile = async (ctx) => {
// serve static assets // serve static assets
koa.use( koa.use(
serve(path.resolve(__dirname, "../public"), { serve(path.resolve(__dirname, "../../public"), {
maxage: 60 * 60 * 24 * 30 * 1000, maxage: 60 * 60 * 24 * 30 * 1000,
}) })
); );