configure application file to serve static assets (fixed bug in previous commit)