DevX: Properly serve the well-known for local backend

This commit is contained in:
Valere
2025-04-22 14:07:03 +02:00
parent 78a88a9e0b
commit 26ccd355a9
2 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ server {
# currently rely for local development environment on deprecated config.json
# setting for livekit_service_url
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "http://synapse.localhost:8008"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "http://localhost:8080"}]}';
return 200 '{"m.homeserver": {"base_url": "http://synapse.localhost:8008"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "http://localhost:8009"}]}';
default_type application/json;
add_header Access-Control-Allow-Origin *;
}