Skip to content

Commit

Permalink
listen to port 80 in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbenz committed Mar 11, 2019
1 parent 1aa144f commit 9988adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ RUN npm install
# Bundle app source
COPY . .

EXPOSE 8080
EXPOSE 80
CMD [ "npm", "start" ]
2 changes: 1 addition & 1 deletion platform/lib/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Platform {
this._check();
this._registerRouters();

this.server.listen(config.hosts.platform.port || 8080, () => {
this.server.listen(config.hosts.platform.port || 80, () => {
signale.success(`amp.dev available on ${host}!`);
});
}
Expand Down

0 comments on commit 9988adc

Please sign in to comment.