Fixed turnstile
This commit is contained in:
Vendored
+17
@@ -225,6 +225,23 @@ import { buildSeoPlugin, injectAutoFillMeta, injectSeoTabs } from './modules/seo
|
||||
...config.endpoints ?? [],
|
||||
testEmailEndpoint
|
||||
];
|
||||
// --- integration alerts on the dashboard (Turnstile status, …) ---
|
||||
// Renders nothing while everything works; never throws.
|
||||
config.admin = {
|
||||
...config.admin ?? {},
|
||||
components: {
|
||||
...config.admin?.components ?? {},
|
||||
beforeDashboard: [
|
||||
...config.admin?.components?.beforeDashboard ?? [],
|
||||
{
|
||||
path: '@intecion/ipal-kit/admin#IntegrationAlerts',
|
||||
serverProps: {
|
||||
adminRoute: options.adminRoute ?? '/admin'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
// --- hooks: onInit ---
|
||||
const incomingOnInit = config.onInit;
|
||||
config.onInit = async (payload)=>{
|
||||
|
||||
Reference in New Issue
Block a user