Skip to content

Commit 98515cc

Browse files
committed
env vriables
1 parent 6c296c2 commit 98515cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Addresses = require("./addresses");
66
const Locations = require("./locations");
77

88
const app = express();
9-
const { PORT } = process.env || 3000;
9+
const PORT = process.env.PORT || 3000;
1010
const googleMapsApiKey = process.env.GOOGLE_API_KEY;
1111

1212
app.use("/static", express.static("static")); // Exposes static folder to serve images and styles

0 commit comments

Comments
 (0)