Wire up example backend to use in-memory cache.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-07-03 20:07:13 +02:00
committed by Eric Peterson
parent 8b438c7717
commit 5fe0c2ce78
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -29,6 +29,7 @@ export default async function createPlugin({
config,
discovery,
reader,
cache,
}: PluginEnvironment): Promise<Router> {
// Preparers are responsible for fetching source files for documentation.
const preparers = await Preparers.fromConfig(config, {
@@ -64,5 +65,6 @@ export default async function createPlugin({
logger,
config,
discovery,
cache,
});
}