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);