fix: Public assets path
This commit is contained in:
@ -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,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user