Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-05-17 09:18:08 +02:00
parent a4ed5449e9
commit 7f01d39909
20 changed files with 133 additions and 37 deletions

View File

@ -5,7 +5,7 @@ import Users from "./collections/Users";
import Media from "./collections/Media";
export default buildConfig({
serverURL: "http://localhost:3001",
serverURL: process.env.PAYLOAD_URL,
admin: {
user: Users.slug,
},

View File

@ -21,4 +21,4 @@ payload.init({
// Add your own express routes here
app.listen(3001);
app.listen(process.env.PAYLOAD_PORT);