defnull/bottle — Issue #259: static_file() not working with FAPWS3
Author: sexyprout
Created: 2011-12-03 15:00:52+00:00
State: open

from bottle import route, run, static_file, FapwsServer

@route('/static/')
def serve_static(filename):
return static_file(filename, root='./static')

run(server=FapwsServer, port=8080)

I'm getting a 500 error every time I try to access an existing file at http://127.0.0.1:8080/static/style.css, with no error in the terminal; but using the default adapter works.