File tree Expand file tree Collapse file tree 5 files changed +10
-2942
lines changed
Expand file tree Collapse file tree 5 files changed +10
-2942
lines changed Original file line number Diff line number Diff line change @@ -12,28 +12,9 @@ instead of figuring out how to communicate with Mopidy.
1212Getting the library for browser use
1313===================================
1414
15- Regular and minified versions of Mopidy.js, ready for use, is installed
16- together with Mopidy. When the HTTP extension is enabled, the files are
17- available at:
18-
19- - http://localhost:6680/mopidy/mopidy.js
20- - http://localhost:6680/mopidy/mopidy.min.js
21-
22- You may need to adjust hostname and port for your local setup.
23-
24- Thus, if you use Mopidy to host your web client, like described in
25- :ref: `static-web-client `, you can load the latest version of Mopidy.js by
26- adding the following script tag to your HTML file:
27-
28- .. code-block :: html
29-
30- <script type =" text/javascript" src =" /mopidy/mopidy.min.js" ></script >
31-
32- If you don't use Mopidy to host your web client, you can find the JS files in
33- the Git repo at:
34-
35- - ``mopidy/http/data/mopidy.js ``
36- - ``mopidy/http/data/mopidy.min.js ``
15+ Regular and minified versions of Mopidy.js, ready for use, is available from
16+ the project's
17+ `GitHub release page <https://github.com/mopidy/mopidy.js/releases >`_.
3718
3819
3920Getting the library for Node.js or Browserify use
Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ Extension support
3838HTTP frontend
3939-------------
4040
41+ - Stop bundling Mopidy.js and serving it at ``/mopidy/mopidy.js `` and
42+ ``/mopidy/mopidy.min.js ``. All Mopidy web clients must use Mopidy.js from npm
43+ or vendor their own copy of the library.
44+ (Fixes: :issue: `1460 `, PR: :issue: `1708 `)
45+
4146- Remove support for serving arbitrary files over HTTP through the use of
4247 :confval: `http/static_dir `, which has been deprecated since 1.0. (Fixes:
4348 :issue: `1463 `, PR: :issue: `1706 `)
You can’t perform that action at this time.
0 commit comments