@@ -31,6 +31,7 @@ import search from './plugins/search';
31
31
import { PluginEnvironment } from './types' ;
32
32
import { ServerPermissionClient } from '@backstage/plugin-permission-node' ;
33
33
import { DefaultIdentityClient } from '@backstage/plugin-auth-node' ;
34
+ import todo from './plugins/todo' ;
34
35
35
36
function makeCreateEnv ( config : Config ) {
36
37
const root = getRootLogger ( ) ;
@@ -85,6 +86,7 @@ async function main() {
85
86
const techdocsEnv = useHotMemoize ( module , ( ) => createEnv ( 'techdocs' ) ) ;
86
87
const searchEnv = useHotMemoize ( module , ( ) => createEnv ( 'search' ) ) ;
87
88
const appEnv = useHotMemoize ( module , ( ) => createEnv ( 'app' ) ) ;
89
+ const todoEnv = useHotMemoize ( module , ( ) => createEnv ( 'todo' ) ) ;
88
90
89
91
const apiRouter = Router ( ) ;
90
92
apiRouter . use ( '/catalog' , await catalog ( catalogEnv ) ) ;
@@ -93,6 +95,7 @@ async function main() {
93
95
apiRouter . use ( '/techdocs' , await techdocs ( techdocsEnv ) ) ;
94
96
apiRouter . use ( '/proxy' , await proxy ( proxyEnv ) ) ;
95
97
apiRouter . use ( '/search' , await search ( searchEnv ) ) ;
98
+ apiRouter . use ( '/todo' , await todo ( todoEnv ) ) ;
96
99
97
100
// Add backends ABOVE this line; this 404 handler is the catch-all fallback
98
101
apiRouter . use ( notFoundHandler ( ) ) ;
0 commit comments