File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/features/api/recentMessages Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,14 @@ export type RecentMessagesResponse = {
3
3
error : null ;
4
4
} ;
5
5
6
- const ALTERNATIVE_HISTORY_BASE_URL =
7
- process . env . NEXT_PUBLIC_ALTERNATIVE_HISTORY_BASE_URL ;
8
6
const ALTERNATIVE_HISTORY_CHANNELS = (
9
7
process . env . NEXT_PUBLIC_ALTERNATIVE_HISTORY_CHANNELS || ''
10
8
) . split ( ';' ) ;
11
9
12
10
const recentMessages = {
13
11
get : ( channelName : string ) : Promise < RecentMessagesResponse > => {
14
12
const url = ALTERNATIVE_HISTORY_CHANNELS . includes ( channelName )
15
- ? `${ ALTERNATIVE_HISTORY_BASE_URL } / api/v1 /recent-messages/${ channelName } `
13
+ ? `https://diverse-marillin-honeykingdom.koyeb.app/ api/twitch /recent-messages/${ channelName } `
16
14
: `https://recent-messages.robotty.de/api/v2/recent-messages/${ channelName } ?clearchatToNotice=true` ;
17
15
return fetch ( url ) . then ( ( r ) => r . json ( ) ) ;
18
16
} ,
You can’t perform that action at this time.
0 commit comments