Update default homeserver to match what the docs say
This commit is contained in:
@@ -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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user