Added middleware function to deal with CORS, and fixed favicon error. Might want a better favicon though!