feat: Serve static assets of apps

This commit is contained in:
Faruk AYDIN
2021-10-19 16:29:37 +02:00
committed by Ali BARIN
parent 5a2de1de9e
commit 672cc4c60c
17 changed files with 118 additions and 23 deletions

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Flickr" role="img" viewBox="0 0 512 512">
<rect width="512" height="512" rx="15%" fill="#fff"/>
<circle cx="157" cy="256" fill="#0063dc" r="79"/>
<circle cx="355" cy="256" fill="#ff0084" r="79"/>
</svg>

After

Width:  |  Height:  |  Size: 261 B

View File

@@ -1,7 +1,10 @@
{
import appInfoType from '../../types/app-info';
import appConfig from '../../config/app';
const appInfo: appInfoType = {
"name": "Flickr",
"key": "flickr",
"iconUrl": "https://automatisch.io/apps/flickr.png",
"iconUrl": `${appConfig.baseUrl}/apps/flickr/assets/favicon.svg`,
"docUrl": "https://automatisch.io/docs/flickr",
"primaryColor": "000000",
"fields": [
@@ -113,3 +116,5 @@
}
]
}
export default appInfo;