Skip to content

Commit ef926c1

Browse files
committed
Took out SERVER_PORT env variable in favor of mapping ports using docker
1 parent 0aaadb4 commit ef926c1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.env

-2
This file was deleted.

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
# System Files
1717
.DS_Store
1818
Thumbs.db
19+
20+
# Don't allow checking in the environment
21+
.env

src/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { createApp } from './create-app';
1111
// -----------------------------------------------------------------------------
1212
// Start the HTTP Server using the Express App
1313
// -----------------------------------------------------------------------------
14-
const port = process.env.SERVER_PORT;
14+
const port = 8080; // can be mapped using docker
1515
const app = createApp();
1616
const server = createServer(app);
1717
server.listen(port, () => console.log('Listening on port ' + port));

0 commit comments

Comments
 (0)