Merge pull request #8681 from backstage/rugvip/assetcache
app-backend: store static assets across deployments and improve caching
This commit is contained in:
@@ -21,10 +21,12 @@ import { PluginEnvironment } from '../types';
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
config,
|
||||
database,
|
||||
}: PluginEnvironment): Promise<Router> {
|
||||
return await createRouter({
|
||||
logger,
|
||||
config,
|
||||
database,
|
||||
appPackageName: 'example-app',
|
||||
});
|
||||
}
|
||||
|
||||
@@ -5,10 +5,12 @@ import { PluginEnvironment } from '../types';
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
config,
|
||||
database,
|
||||
}: PluginEnvironment): Promise<Router> {
|
||||
return await createRouter({
|
||||
logger,
|
||||
config,
|
||||
database,
|
||||
appPackageName: 'app',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user