The client/server URL is needed for go-neb to work correctly, and to remove our complete dependence on federation. The federation URL is also configurable so servers that don't wish to federate can specify a local address.
23 lines
487 B
TypeScript
23 lines
487 B
TypeScript
import * as config from "config";
|
|
import { LogConfig } from "matrix-js-snippets";
|
|
|
|
export interface DimensionConfig {
|
|
web: {
|
|
port: number;
|
|
address: string;
|
|
};
|
|
homeserver: {
|
|
name: string;
|
|
accessToken: string;
|
|
clientServerUrl: string;
|
|
federationUrl: string;
|
|
};
|
|
widgetBlacklist: string[];
|
|
database: {
|
|
file: string;
|
|
};
|
|
admins: string[];
|
|
logging: LogConfig;
|
|
}
|
|
|
|
export default <DimensionConfig>config; |