aboutsummaryrefslogtreecommitdiffstats
path: root/lib/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/upload.js')
-rw-r--r--lib/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/upload.js b/lib/upload.js
index 43cc35ce..fbf9ce20 100644
--- a/lib/upload.js
+++ b/lib/upload.js
@@ -20,7 +20,7 @@ export default async ({ params: { type }, file, user }, res) => {
throw new Error("unsupported file type");
let name = `${user.id}-${type}.webp`;
- let path = `/app/uploads/${name}`;
+ let path = `/app/data/uploads/${name}`;
let size = type === "banner" ? 1920 : 240;
let t = sharp()