Further fix to PAYLOAD_ADDRESS var
This commit is contained in:
parent
424359ec0f
commit
3a0b940bd4
@ -8,8 +8,8 @@ app.get("/", (_, res) => {
|
|||||||
res.redirect("/admin");
|
res.redirect("/admin");
|
||||||
});
|
});
|
||||||
|
|
||||||
const PORT = process.env.PAYLOAD_PORT ?? 3000,
|
const PORT = Number(process.env.PAYLOAD_PORT) ?? 3000;
|
||||||
const HOST = process.env.PAYLOAD_ADDRESS ?? 'localhost',
|
const HOST = process.env.PAYLOAD_ADDRESS ?? 'localhost';
|
||||||
|
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
// Initialize Payload
|
// Initialize Payload
|
||||||
|
Loading…
Reference in New Issue
Block a user