We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aaadb4 commit ef926c1Copy full SHA for ef926c1
.env
.gitignore
@@ -16,3 +16,6 @@
16
# System Files
17
.DS_Store
18
Thumbs.db
19
+
20
+# Don't allow checking in the environment
21
+.env
src/server.js
@@ -11,7 +11,7 @@ import { createApp } from './create-app';
11
// -----------------------------------------------------------------------------
12
// Start the HTTP Server using the Express App
13
14
-const port = process.env.SERVER_PORT;
+const port = 8080; // can be mapped using docker
15
const app = createApp();
const server = createServer(app);
server.listen(port, () => console.log('Listening on port ' + port));
0 commit comments