Update server.js

simplified API prefix declaration