admin page fix

This commit is contained in:
Jan Prochazka
2024-07-30 15:31:51 +02:00
parent f345c80144
commit 2c805b3357
2 changed files with 6 additions and 1 deletions

View File

@@ -21,5 +21,8 @@ export function resolveApiHeaders() {
if (accessToken) {
res['Authorization'] = `Bearer ${accessToken}`;
}
if (isAdminPage()) {
res['x-is-admin-page'] = 'true';
}
return res;
}