package/app: move app config to yaml

This commit is contained in:
Patrik Oldsberg
2020-06-02 17:30:32 +02:00
parent 41dd61984c
commit d0fb818c4d
3 changed files with 14 additions and 14 deletions
+9
View File
@@ -0,0 +1,9 @@
app:
title: Backstage Example App
baseUrl: http://localhost:3000
backend:
baseUrl: http://localhost:7000
organization:
name: Spotify
-14
View File
@@ -24,20 +24,6 @@ import apis from './apis';
const app = createApp({
apis,
plugins: Object.values(plugins),
configLoader: async () => [
{
app: {
title: 'Backstage Example App',
baseUrl: 'http://localhost:3000',
},
backend: {
baseUrl: 'http://localhost:7000',
},
organization: {
name: 'Spotify',
},
},
],
});
const AppProvider = app.getProvider();
@@ -0,0 +1,5 @@
app:
title: Scaffolded Backstage App
organization:
name: Acme Corporation