web: fix API Path

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-17 20:48:58 +02:00
parent f016095891
commit 9e7c9ae649
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: authentik
version: 2021.5.1
version: 2021.5.2
description: Making authentication simple.
contact:
email: hello@beryju.org

View File

@ -21,7 +21,7 @@ export function config(): Promise<Config> {
}
export const DEFAULT_CONFIG = new Configuration({
basePath: "/api/v2beta",
basePath: "",
headers: {
"X-CSRFToken": getCookie("authentik_csrf"),
},