Update default homeserver to match what the docs say

This commit is contained in:
David Baker 2022-12-21 10:01:37 +00:00
parent b3d97810a8
commit 6303b357ab

View file

@ -33,10 +33,8 @@ export interface ConfigOptions {
export const DEFAULT_CONFIG: ConfigOptions = { export const DEFAULT_CONFIG: ConfigOptions = {
default_server_config: { default_server_config: {
["m.homeserver"]: { ["m.homeserver"]: {
// These are probably poor guesses - we may want to just not work without base_url: "http://localhost:8008",
// a config file. server_name: "localhost",
base_url: `${window.location.protocol}//${window.location.host}`,
server_name: window.location.host,
}, },
}, },
}; };