Skip to content

Conversation

@seiry
Copy link

@seiry seiry commented May 8, 2025

why

Override the basic channel information through environment variables to address customized information display requirements.

how

Reading environment variables during getChannelInfo and overriding the original values will not break the existing cache logic.

ps, added a bypass for static/* redirects in the middleware. For 302 redirects to non-Telegram domains, the immutable header should not be modified.

@seiry seiry marked this pull request as draft May 8, 2025 03:31
@seiry seiry marked this pull request as ready for review May 8, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant