web: show version in logs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-09-02 17:10:43 +02:00
parent cc5cc43baa
commit d5d1f2a645
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import { Config, Configuration, CoreApi, CurrentTenant, Middleware, ResponseCont
import { getCookie } from "../utils";
import { APIMiddleware } from "../elements/notifications/APIDrawer";
import { MessageMiddleware } from "../elements/messages/Middleware";
import { VERSION } from "../constants";
export class LoggingMiddleware implements Middleware {
@ -59,3 +60,5 @@ export const DEFAULT_CONFIG = new Configuration({
new LoggingMiddleware(),
],
});
console.debug(`authentik: version ${VERSION}`);