diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-08-01 11:34:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 11:34:27 +0100 |
commit | c7f7aec4d07d59120d37d5b16a900f6d608a75c4 (patch) | |
tree | ed2c78dbe7b01f5b2701893cb53e961ffd89bc5c /roomserver/storage/postgres/state_snapshot_table.go | |
parent | 645f31ae24610110ee2c3100d228677fb3166b26 (diff) |
Set CORS headers for HTTP 404 and 405 errors (#2599)
* Set CORS headers for the 404s
* Use custom handlers, plus one for HTTP 405 too
* Tweak setup
* Add to muxes too
* Tidy up some more
* Use built-in HTTP 404 handler
* Don't bother setting it for federation-facing
Diffstat (limited to 'roomserver/storage/postgres/state_snapshot_table.go')
0 files changed, 0 insertions, 0 deletions