mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
add "api.runOnFrontend()" to the backend script API
This commit is contained in:
@@ -302,7 +302,7 @@ function register(app) {
|
||||
apiRoute(PST, '/api/script/run/:noteId', scriptRoute.run);
|
||||
apiRoute(GET, '/api/script/startup', scriptRoute.getStartupBundles);
|
||||
apiRoute(GET, '/api/script/widgets', scriptRoute.getWidgetBundles);
|
||||
apiRoute(GET, '/api/script/bundle/:noteId', scriptRoute.getBundle);
|
||||
apiRoute(PST, '/api/script/bundle/:noteId', scriptRoute.getBundle);
|
||||
apiRoute(GET, '/api/script/relation/:noteId/:relationName', scriptRoute.getRelationBundles);
|
||||
|
||||
// no CSRF since this is called from android app
|
||||
|
||||
Reference in New Issue
Block a user