Update index.js

change env.port to config