feat: Serve static assets of apps
This commit is contained in:
5
packages/backend/src/apps/flickr/assets/favicon.svg
Normal file
5
packages/backend/src/apps/flickr/assets/favicon.svg
Normal 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 |
@@ -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;
|
Reference in New Issue
Block a user