feat: Serve static assets of apps
This commit is contained in:
4
packages/backend/src/apps/twitter/assets/favicon.svg
Normal file
4
packages/backend/src/apps/twitter/assets/favicon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitter" role="img" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="15%" fill="#1da1f2"/>
|
||||
<path fill="#fff" d="M437 152a72 72 0 01-40 12a72 72 0 0032-40a72 72 0 01-45 17a72 72 0 00-122 65a200 200 0 01-145-74a72 72 0 0022 94a72 72 0 01-32-7a72 72 0 0056 69a72 72 0 01-32 1a72 72 0 0067 50a200 200 0 01-105 29a200 200 0 00309-179a200 200 0 0035-37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 422 B |
@@ -1,7 +1,10 @@
|
||||
{
|
||||
import appInfoType from '../../types/app-info';
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const appInfo: appInfoType = {
|
||||
"name": "Twitter",
|
||||
"key": "twitter",
|
||||
"iconUrl": "https://automatisch.io/apps/twitter.png",
|
||||
"iconUrl": `${appConfig.baseUrl}/apps/twitter/assets/favicon.svg`,
|
||||
"docUrl": "https://automatisch.io/docs/twitter",
|
||||
"primaryColor": "2DAAE1",
|
||||
"fields": [
|
||||
@@ -113,3 +116,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default appInfo;
|
Reference in New Issue
Block a user