1. Linh Tran
  2. MotorLite-RestAPI

Commits

Linh Tran  committed d322bd5

change host for mysql

  • Participants
  • Parent commits 40347f0
  • Branches master

Comments (0)

Files changed (1)

File server.js

View file
 }
 
 var options = {
-    port: argv.p || 8888,
+    port: process.env.PORT || argv.p || 8888,
     basicAuth: argv.a || argv.auth || null
 };