mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 17:56:21 +01:00
🚛 Move WalkxHub > WalkxCode
This commit is contained in:
committed by
Manuel Ruwe
parent
022656ae45
commit
f8d850b3be
@@ -3,7 +3,7 @@ import { Config, MatchingImages, ServiceType, tryMatchPort } from './types';
|
|||||||
|
|
||||||
async function MatchIcon(name: string) {
|
async function MatchIcon(name: string) {
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name
|
`https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/${name
|
||||||
.replace(/\s+/g, '-')
|
.replace(/\s+/g, '-')
|
||||||
.toLowerCase()}.png`
|
.toLowerCase()}.png`
|
||||||
);
|
);
|
||||||
@@ -30,7 +30,7 @@ export function tryMatchService(container: Dockerode.ContainerInfo | undefined)
|
|||||||
id: container.Id,
|
id: container.Id,
|
||||||
type: tryMatchType(container.Image),
|
type: tryMatchType(container.Image),
|
||||||
url: `localhost${port ? `:${port}` : ''}`,
|
url: `localhost${port ? `:${port}` : ''}`,
|
||||||
icon: `https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name
|
icon: `https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/${name
|
||||||
.replace(/\s+/g, '-')
|
.replace(/\s+/g, '-')
|
||||||
.toLowerCase()}.png`,
|
.toLowerCase()}.png`,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user