Update default homeserver to match what the docs say
This commit is contained in:
parent
b3d97810a8
commit
6303b357ab
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue