Added check for the ghApi into the server/index.js file.