mauricemach/zappa — Issue #112: Getting 404 when trying to serve static image
Author: Atmospherian
Created: 2011-11-30 19:33:43+00:00
State: open

my app starts like this:

require('zappa') ->
@use 'static', @app.router, 'bodyParser', 'methodOverride', 'cookies'

i have a folder called 'public' within the folder that the .coffee file lives. i have an image inside the public folder. i fire up the app and goto http://localhost:3000/public/img.png and get a 404.

what am i doing wrong?