http: Move static files to its own dir

This commit is contained in:
Stein Magnus Jodal 2012-11-18 18:27:50 +01:00
parent 62530be8b4
commit 02360ae9c0
2 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class HttpFrontend(pykka.ThreadingActor, CoreListener):
if settings.HTTP_SERVER_STATIC_DIR:
static_dir = settings.HTTP_SERVER_STATIC_DIR
else:
static_dir = os.path.dirname(__file__)
static_dir = os.path.join(os.path.dirname(__file__), 'data')
logger.debug('HTTP server will serve "%s" at /', static_dir)
config = {