diff --git a/schema.yml b/schema.yml index c1ae7b35b..88147f1a9 100644 --- a/schema.yml +++ b/schema.yml @@ -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 diff --git a/web/src/api/Config.ts b/web/src/api/Config.ts index bf188659b..83374bab8 100644 --- a/web/src/api/Config.ts +++ b/web/src/api/Config.ts @@ -21,7 +21,7 @@ export function config(): Promise { } export const DEFAULT_CONFIG = new Configuration({ - basePath: "/api/v2beta", + basePath: "", headers: { "X-CSRFToken": getCookie("authentik_csrf"), },