mirror of
https://github.com/zadam/trilium.git
synced 2026-01-15 02:54:24 +01:00
chore(client-standalone): add two dummy routes
This commit is contained in:
parent
d690985b58
commit
91db73703b
@ -43,6 +43,10 @@ export function registerRoutes(router: BrowserRouter): void {
|
||||
const apiRoute = createApiRoute(router);
|
||||
routes.buildSharedApiRoutes(apiRoute);
|
||||
apiRoute('get', '/bootstrap', bootstrapRoute);
|
||||
|
||||
// Dummy routes for compatibility.
|
||||
apiRoute("get", "/api/script/widgets", () => []);
|
||||
apiRoute("get", "/api/system-checks", () => ({ isCpuArchMismatch: false }))
|
||||
}
|
||||
|
||||
function bootstrapRoute() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user