diff --git a/src/services/ChannelService.ts b/src/services/ChannelService.ts index 15db882..c37b692 100644 --- a/src/services/ChannelService.ts +++ b/src/services/ChannelService.ts @@ -2,7 +2,7 @@ const API_URL = 'http://haveachin.de:1888/v1/channels'; export default class ChannelService { public static async fetchAllChannels() { - const response = await fetch('http://haveachin.de:1888/v1/channels'); + const response = await fetch(API_URL); const json = await response.json(); return json; }