Skip to content

Commit

Permalink
fix: env ports (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore authored Dec 12, 2024
1 parent 2e2cd51 commit beacb6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion siren.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const express = require('express')
const next = require('next')
const EventSource = require('eventsource')
require('dotenv').config()

const dev = process.env.NODE_ENV !== 'production'
const app = next({ dev })
const handle = app.getRequestHandler()
const PORT = process.env.PORT || 3000
require('dotenv').config()

const backendUrl = process.env.BACKEND_URL

Expand Down

0 comments on commit beacb6a

Please sign in to comment.