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 *;
}

View File

@@ -92,6 +92,8 @@ services:
# HOST_PORT:CONTAINER_PORT
- "8008:80"
- "4443:443"
- "80:80"
- "443:443"
depends_on:
- synapse
networks: