Skip to content

Commit 629e201

Browse files
committed
feat: use low case name on cctv logo url
1 parent 552f9c5 commit 629e201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ throw new Error('too fast');
189189
}
190190

191191
function genChannelContent(group: string, ch: Channel) {
192-
const logo = `https://tv-res.pages.dev/logo/${ch.name}.png`;
192+
const logo = `https://tv-res.pages.dev/logo/${ch.name?.replaceAll('CCTV', 'cctv')}.png`;
193193

194194
return {
195195
txt: `${ch.name},${ch.url}\n`,

0 commit comments

Comments
 (0)