Skip to content

Commit bdf719a

Browse files
committed
fix: Fix the issue of incorrect thumbnail after uploading 🐛
1 parent 4d5baca commit bdf719a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ app.use(require('koa-static')(path.join(__dirname, 'public')));
1515
const createDirectories = () => {
1616
const dirs = [
1717
path.join(__dirname, 'provisional'),
18-
path.join(__dirname, 'public', 'resource')
18+
path.join(__dirname, 'resource')
1919
];
2020
dirs.forEach((dir) => {
2121
if (!fs.existsSync(dir)) {

0 commit comments

Comments
 (0)