Skip to content

Conversation

ahti
Copy link
Contributor

@ahti ahti commented Feb 6, 2025

Favicon and stylesheet are currently served at random paths in order to avoid collisions. However, this causes problems with running multi-replica deployments as well as caching, because the path is not stable across multiple instances/restarts of miniserve.

In order to address this, this PR moves the paths to stable routes prefixed by "__miniserve_internal", which should provide enough protection from accidental collisions.

@svenstaro
Copy link
Owner

svenstaro commented Feb 6, 2025

Fixes #1424 and probably #1406.

@svenstaro svenstaro merged commit e5a877f into svenstaro:master Feb 6, 2025
17 checks passed
svenstaro added a commit that referenced this pull request Feb 6, 2025
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