feat(error): add link to website

This commit is contained in:
Axel Cocat 2022-02-27 18:15:10 +01:00
parent 56c0fed144
commit 94aec140a8
4 changed files with 7 additions and 1 deletions

View file

@ -75,6 +75,8 @@ export class Armory {
this.logger.info("Starting server...");
app.locals.aowow = this.config.aowowUrl;
app.locals.websiteUrl = this.config.websiteUrl;
app.locals.websiteName = this.config.websiteName;
app.engine(".html", handlebarsEngine({
extname: "html",
partialsDir: path.join(process.cwd(), "static", "partials"),

View file

@ -20,6 +20,8 @@ export interface IRealmConfig {
export class Config {
public aowowUrl: string;
public websiteUrl: string;
public websiteName: string;
public loadDbcs: boolean;
public hideGameMasters: boolean;
public realms: IRealmConfig[];