summary refs log tree commit diff
path: root/src/routes/attachments.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-07 13:15:35 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-07 13:15:35 +0200
commitede8ed4b715a0167a63edcc15cdc5d4c644356c5 (patch)
tree08cae5ba90f1b1726629e54517677ca8c2798fcf /src/routes/attachments.ts
parent:lock: fix path traversal security issue (diff)
downloadserver-ede8ed4b715a0167a63edcc15cdc5d4c644356c5.tar.xz
:sparkles: icons + banners route
Diffstat (limited to '')
-rw-r--r--src/routes/attachments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/attachments.ts b/src/routes/attachments.ts

index 9d43a921..9d208485 100644 --- a/src/routes/attachments.ts +++ b/src/routes/attachments.ts
@@ -3,7 +3,7 @@ import { Config, Snowflake } from "@fosscord/server-util"; import { storage } from "../util/Storage"; import FileType from "file-type"; import { HTTPError } from "lambert-server"; -import { multer } from "../Server"; +import { multer } from "../util/multer"; import imageSize from "image-size"; const router = Router();