Fixes server, serves public folder correctly.