Make port configurable (#130)

This commit is contained in:
MeiMei 2019-03-16 15:14:43 +09:00 committed by syuilo
parent f45c802a7f
commit 58b6252442

View File

@ -23,4 +23,4 @@ app.use(async ctx => {
const server = http.createServer(app.callback());
server.listen(80);
server.listen(process.env.PORT || 80);