routing fix to serve static assets from public directory