aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures/Server.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-12-25 03:08:53 +0900
committerPitu <[email protected]>2020-12-25 03:08:53 +0900
commit493e05df27ba3b2c6fbd36547f0c7aa1699e038c (patch)
tree3ed2812b4a5717d9c3832f0a3aa2baec8fcf8c3e /src/api/structures/Server.js
parentFix: use webp for thumbnails (diff)
downloadhost.fuwn.me-493e05df27ba3b2c6fbd36547f0c7aa1699e038c.tar.xz
host.fuwn.me-493e05df27ba3b2c6fbd36547f0c7aa1699e038c.zip
Fix: thumbnail creation
Diffstat (limited to 'src/api/structures/Server.js')
-rw-r--r--src/api/structures/Server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js
index cf2a781..865419d 100644
--- a/src/api/structures/Server.js
+++ b/src/api/structures/Server.js
@@ -92,6 +92,7 @@ class Server {
start() {
jetpack.dir('uploads/chunks');
jetpack.dir('uploads/thumbs/square');
+ jetpack.dir('uploads/thumbs/preview');
this.registerAllTheRoutes();
this.serveNuxt();
const server = this.server.listen(this.port, () => {