Skip to content

Add NetworkTransportBindAddress config field to WebUI#75

Draft
Copilot wants to merge 1 commit into
masterfrom
copilot/787-ui-change-for-config-models
Draft

Add NetworkTransportBindAddress config field to WebUI#75
Copilot wants to merge 1 commit into
masterfrom
copilot/787-ui-change-for-config-models

Conversation

Copy link
Copy Markdown

Copilot AI commented May 31, 2026

Adds UI support for the new NetworkTransportBindAddress global config option from BililiveRecorder/BililiveRecorder#787, which allows binding network connections to a specific interface or IP address.

  • src/utils/api.ts: Added networkTransportBindAddress: string to DefaultConfig, optionalNetworkTransportBindAddress: StringOptional to GlobalConfigDto, and default value in mock config
  • src/views/recorder/SettingPage.vue: Added text input (labeled "绑定的网络接口或IP地址") in the network settings section, with corresponding newConfig initialization

Add support for the new NetworkTransportBindAddress global config option
introduced in BililiveRecorder/BililiveRecorder#787.

Changes:
- Add networkTransportBindAddress to DefaultConfig interface
- Add optionalNetworkTransportBindAddress to GlobalConfigDto interface
- Add default value in mock config
- Add text input in network settings section of SettingPage
Copilot AI changed the title feat: add NetworkTransportBindAddress config field to WebUI Add NetworkTransportBindAddress config field to WebUI May 31, 2026
Copilot AI requested a review from Genteure May 31, 2026 06:57
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying bililiverecorder-webui with  Cloudflare Pages  Cloudflare Pages

Latest commit: faa2638
Status: ✅  Deploy successful!
Preview URL: https://08e91def.bililiverecorder-webui.pages.dev
Branch Preview URL: https://copilot-787-ui-change-for-co.bililiverecorder-webui.pages.dev

View logs

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds WebUI support for the new global NetworkTransportBindAddress configuration so users can bind recorder network connections to a specific local interface/IP.

Changes:

  • Adds networkTransportBindAddress to default/global config typings and mock defaults.
  • Adds a new optional text input in the advanced network settings section.
  • Initializes the new UI config item from the default config.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/utils/api.ts Extends config DTO/default typings and mock config with networkTransportBindAddress.
src/views/recorder/SettingPage.vue Adds the bind-address field to network settings and initializes its optional config item.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants