Update server.js

updating to be able to change the prefix to the api for the server.json