feat: redirect to main website if not in iframe
This commit is contained in:
parent
94aec140a8
commit
5602ece097
6 changed files with 27 additions and 4 deletions
|
|
@ -18,10 +18,16 @@ export interface IRealmConfig {
|
|||
charactersDatabase: IDatabaseConfig;
|
||||
}
|
||||
|
||||
export interface IIframeModeConfig {
|
||||
enabled: boolean;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export class Config {
|
||||
public aowowUrl: string;
|
||||
public websiteUrl: string;
|
||||
public websiteName: string;
|
||||
public iframeMode: IIframeModeConfig;
|
||||
public loadDbcs: boolean;
|
||||
public hideGameMasters: boolean;
|
||||
public realms: IRealmConfig[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue