Update plugins/lighthouse-backend/README.md

tidy up example code in README

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com>
This commit is contained in:
Jonathan Roebuck
2023-07-12 09:30:48 +01:00
committed by GitHub
parent 402749b005
commit 6951966004
+1 -3
View File
@@ -69,9 +69,7 @@ In your `packages/backend/src/index.ts` make the following changes:
+ import { lighthousePlugin } from '@backstage/plugin-lighthouse-backend';
const backend = createBackend();
// ... other feature additions
+ backend.add(
+ lighthousePlugin(),
+ );
+ backend.add(lighthousePlugin());
backend.start();
```