feat: Serve static assets of apps
This commit is contained in:
4
packages/backend/src/apps/twitch/assets/favicon.svg
Normal file
4
packages/backend/src/apps/twitch/assets/favicon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="Twitch" role="img" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="15%" fill="#fff"/>
|
||||
<path d="m115 101-22 56v228h78v42h44l41-42h63l85-85v-199zm260 185-48 48h-78l-42 42v-42h-65v-204h233zm-48-100v85h-30v-85zm-78 0v85h-29v-85z" fill="#6441a4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 316 B |
@@ -1,7 +1,10 @@
|
||||
{
|
||||
import appInfoType from '../../types/app-info';
|
||||
import appConfig from '../../config/app';
|
||||
|
||||
const appInfo: appInfoType = {
|
||||
"name": "Twitch",
|
||||
"key": "twitch",
|
||||
"iconUrl": "https://automatisch.io/apps/twitch.png",
|
||||
"iconUrl": `${appConfig.baseUrl}/apps/twitch/assets/favicon.svg`,
|
||||
"docUrl": "https://automatisch.io/docs/twitch",
|
||||
"primaryColor": "6441a5",
|
||||
"fields": [
|
||||
@@ -43,3 +46,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default appInfo;
|
Reference in New Issue
Block a user