We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c296c2 commit 98515ccCopy full SHA for 98515cc
src/server.js
@@ -6,7 +6,7 @@ const Addresses = require("./addresses");
6
const Locations = require("./locations");
7
8
const app = express();
9
-const { PORT } = process.env || 3000;
+const PORT = process.env.PORT || 3000;
10
const googleMapsApiKey = process.env.GOOGLE_API_KEY;
11
12
app.use("/static", express.static("static")); // Exposes static folder to serve images and styles
0 commit comments