diff --git a/mopidy/frontends/http/actor.py b/mopidy/frontends/http/actor.py index 3f7fa1aa..65cf9445 100644 --- a/mopidy/frontends/http/actor.py +++ b/mopidy/frontends/http/actor.py @@ -54,12 +54,19 @@ class HttpFrontend(pykka.ThreadingActor, CoreListener): static_dir = os.path.join(os.path.dirname(__file__), 'data') logger.debug('HTTP server will serve "%s" at /', static_dir) + mopidy_dir = os.path.join(os.path.dirname(__file__), 'data') + config = { b'/': { 'tools.staticdir.on': True, 'tools.staticdir.index': 'index.html', 'tools.staticdir.dir': static_dir, }, + b'/mopidy': { + 'tools.staticdir.on': True, + 'tools.staticdir.index': 'mopidy.html', + 'tools.staticdir.dir': mopidy_dir, + }, b'/mopidy/ws': { 'tools.websocket.on': True, 'tools.websocket.handler_cls': ws.WebSocketHandler,