mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-22 06:30:25 +00:00
DevX: Properly serve the well-known for local backend
This commit is contained in:
@@ -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 *;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ services:
|
||||
# HOST_PORT:CONTAINER_PORT
|
||||
- "8008:80"
|
||||
- "4443:443"
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
depends_on:
|
||||
- synapse
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user