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

instructions error #75

Closed
tomfitzphilly opened this issue Jan 19, 2024 · 1 comment · Fixed by #76
Closed

instructions error #75

tomfitzphilly opened this issue Jan 19, 2024 · 1 comment · Fixed by #76

Comments

@tomfitzphilly
Copy link

in examples/httpserver_handler_serves_file.py

line 13

change /static to /www

Thanks

@michalpokusa
Copy link
Contributor

This is intended, as this example is showing that FileResponse can use files that are outside the server's static directory. It is explained in docs' "Serving static files" section.

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 a pull request may close this issue.

2 participants