Skip to content

Commit 573fc8a

Browse files
Use iobroker.live instead of download.iobroker.net because of CORS issues
1 parent e9bda91 commit 573fc8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

express/frontend/src/lib/ioBroker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export type TranslatedText = Record<string, string>;
2929

3030
export const getLatest = AsyncCache.of(async () => {
3131
const result = await axios.get<LatestAdapters>(
32-
"https://download.iobroker.net/sources-dist-latest.json",
32+
"https://iobroker.live/repo/sources-dist-latest.json",
3333
);
3434
return result.data;
3535
});
3636

3737
export const getStable = AsyncCache.of(async () => {
3838
const result = await axios.get<StableAdapters>(
39-
"https://download.iobroker.net/sources-dist.json",
39+
"https://iobroker.live/repo/sources-dist.json",
4040
);
4141
return result.data;
4242
});

0 commit comments

Comments
 (0)