From a49e1a70dbc0545e96f2623d05f353ecbc7146cd Mon Sep 17 00:00:00 2001
From: Erik Johnston <erikj@matrix.org>
Date: Thu, 10 Oct 2019 14:20:40 +0100
Subject: [PATCH] Update default HS config to match well-known

We want to move matrix.org client traffic to `https://matrix-client.matrix.org
---
 riot.im/app/config.json | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/riot.im/app/config.json b/riot.im/app/config.json
index 164b81c1..dfcf5bd7 100644
--- a/riot.im/app/config.json
+++ b/riot.im/app/config.json
@@ -1,6 +1,13 @@
 {
-    "default_hs_url": "https://matrix.org",
-    "default_is_url": "https://vector.im",
+    "default_server_config": {
+        "m.homeserver": {
+            "server_name": "matrix.org",
+            "base_url": "https://matrix-client.matrix.org"
+        },
+        "m.identity_server": {
+            "base_url": "https://vector.im"
+        }
+    },
     "brand": "Riot",
     "integrations_ui_url": "https://scalar.vector.im/",
     "integrations_rest_url": "https://scalar.vector.im/api",