fix(deploy): serve .well-known by disabling sws hidden-files filter #54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/matrix-well-known-content-type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The previous commit (
a159221) introduced sws.toml to pin Content-Type:application/json on /.well-known/matrix/{server,client}. With a config
file loaded, static-web-server hides dotfiles and dotted directories by
default, so .well-known/* started returning 404 — the Content-Type
override was applied to the matched route, but no file was found
behind it, which the Matrix federation tester reports as failure.
Set ignore-hidden-files = false explicitly under [general] so sws
serves the .well-known directory again.