From 05c74abbe321681909312e91254c1c45a3121545 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 8 Apr 2013 10:01:36 +0200 Subject: [PATCH] http: Revert to use 'static_dir' --- mopidy/frontends/http/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mopidy/frontends/http/__init__.py b/mopidy/frontends/http/__init__.py index 1b7e7c7d..4297378c 100644 --- a/mopidy/frontends/http/__init__.py +++ b/mopidy/frontends/http/__init__.py @@ -30,8 +30,7 @@ port = 6680 # # Change this to have Mopidy serve e.g. files for your JavaScript client. # "/mopidy" will continue to work as usual even if you change this setting. -# -static_path = +static_dir = [logging.levels] cherrypy = warning @@ -533,7 +532,7 @@ class Extension(ext.Extension): schema = config.ExtensionConfigSchema() schema['hostname'] = config.Hostname() schema['port'] = config.Port() - schema['static_path'] = config.Path(optional=True) + schema['static_dir'] = config.Path(optional=True) return schema def validate_environment(self):