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

Unexpected behaviour in example static-file-server #2809

Open
1 task done
tobx opened this issue Jun 28, 2024 · 0 comments
Open
1 task done

Unexpected behaviour in example static-file-server #2809

tobx opened this issue Jun 28, 2024 · 0 comments

Comments

@tobx
Copy link

tobx commented Jun 28, 2024

  • I have looked for existing issues (including closed) about this

Bug Report

Version

0.7.5

Description

Unexpected behaviour in example static-file-server, function using_serve_dir_with_assets_fallback():

It serves assets (in this case script.js) from the url /assets/script.js, but unexpectedly also from /script.js, because the whole assets folder is used as fallback instead of just the index.html file.

I expected to see this happen:
url /script.js should fallback to index.html

Instead, this happened:
url /script.js responded with script.js

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

No branches or pull requests

1 participant