matrix-public-archive/server/routes
Eric Eastwood 2b4ecb737a
Add support for client-side room alias hash `#` redirects to the correct URL (#111)
This helps when someone just pastes a room alias on the end of the domain,

 - `/#room-alias:server` -> `/r/room-alias:server`
 - `/r/#room-alias:server/date/2022/10/27` -> `/r/room-alias:server/date/2022/10/27`

Since these redirects happen on the client, we can't write any e2e tests. Those e2e tests do everything but run client-side JavaScript.

Follow-up to https://github.com/matrix-org/matrix-public-archive/pull/107

Part of https://github.com/matrix-org/matrix-public-archive/issues/25
2022-10-28 00:32:24 -05:00
..
client-side-room-alias-hash-redirect-route.js Add support for client-side room alias hash `#` redirects to the correct URL (#111) 2022-10-28 00:32:24 -05:00
content-security-policy-middleware.js Add `Content-Security-Policy` (CSP) (#81) 2022-10-19 12:07:39 -05:00
install-routes.js Add support for client-side room alias hash `#` redirects to the correct URL (#111) 2022-10-28 00:32:24 -05:00
prevent-clickjacking-middleware.js Add clickjacking prevention middleware (#68) 2022-09-08 19:30:20 -05:00
redirect-to-correct-archive-url-if-bad-sigil-middleware.js Add support for room aliases (#107) 2022-10-27 01:09:13 -05:00
room-directory-routes.js Page-load with the correct homeserver selected (#98) 2022-10-21 02:09:26 -05:00
room-routes.js Add support for room aliases (#107) 2022-10-27 01:09:13 -05:00
timeout-middleware.js Add `Content-Security-Policy` (CSP) (#81) 2022-10-19 12:07:39 -05:00