Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #4623
已知问题
https://api.i-meto.com/meting/api)components/Player.js已支持通过MUSIC_PLAYER_METING_API指定自定义 API 地址,但conf/widget.config.js尚未提供对应的环境变量映射。解决方案
NEXT_PUBLIC_MUSIC_PLAYER_METING_API环境变量。conf/widget.config.js中将环境变量映射到MUSIC_PLAYER_METING_API。.env.example中增加配置说明。改动收益
components/Player.js即可更换 API 地址。具体改动
conf/widget.config.jsMUSIC_PLAYER_METING_API配置项。NEXT_PUBLIC_MUSIC_PLAYER_METING_API读取自定义 API 地址。.env.exampleNEXT_PUBLIC_MUSIC_PLAYER_METING_API环境变量示例。docs/user-guide/plugins/music-player.mddocs/user-guide/reference/features.mdMUSIC_PLAYER_*配置索引。MUSIC_PLAYER_METING_API及其对应环境变量的说明。测试确认
用户文档(
docs/user-guide//docs/developer/)docs/user-guide/目录约定conf/*.config.js一致(若文档涉及配置).env、私有 ID文档说明:
docs/user-guide/plugins/music-player.md/user-guide/plugins/music-player