Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: Remove http/static_dir support #1706

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

jodal
Copy link
Member

@jodal jodal commented Sep 30, 2018

Fixes #1463

@jodal jodal added this to the v3.0 milestone Sep 30, 2018
@jodal jodal self-assigned this Sep 30, 2018
@jodal jodal force-pushed the feature/1463-remove-static-dir-support branch from 95c4e1c to b382c14 Compare September 30, 2018 20:42
Copy link
Member

@kingosticks kingosticks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some docs nitpicking from me while we are here.

docs/api/js.rst Outdated

3. Change the :confval:`http/static_dir` config value to point to your new
directory.
3. Use the :ref:`http-server-api` to make the extension host your static files,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the :ref:http-server-api to make the extension host your static files, like HTML, CSS, and JavaScript.

Use the :ref:http-server-api to serve a directory containing your extension's static HTML, CSS, and JavaScript files.


4. Start/restart Mopidy.
4. Create a file in your extension's static files directory named
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a file in your extension's static files directory named index.html containing e.g. "Hello, world!".

Create a file in your extension's static files directory named index.html containing the text "Hello, world!".

@jodal jodal force-pushed the feature/1463-remove-static-dir-support branch from b382c14 to 9cc10db Compare October 3, 2018 20:51
@jodal jodal merged commit 7c1f442 into mopidy:develop Oct 3, 2018
@jodal jodal deleted the feature/1463-remove-static-dir-support branch October 3, 2018 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants