From b958e292880385b57a4d42bed7587dbb303b5959 Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Fri, 19 May 2023 07:37:21 +0200 Subject: [PATCH] asdf Signed-off-by: Max Schmidt --- payload/src/server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payload/src/server.ts b/payload/src/server.ts index d72661c..769abe2 100644 --- a/payload/src/server.ts +++ b/payload/src/server.ts @@ -16,4 +16,6 @@ payload.init({ payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`); }, }); + +app.use("/media", express.static("media")); app.listen(process.env.PAYLOAD_PORT);