Skip to content

Commit fc4d2b4

Browse files
committed
chore: set new service url default value
1 parent 3bc1915 commit fc4d2b4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/electron/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function setupIpcHandlers() {
187187
// 重新初始化 WebSocket 服务,确保使用最新的配置
188188
const config = configManager.getConfigData;
189189
webSocketService = new WebSocketService(
190-
config.serviceURL || 'http://127.0.0.1:3001',
190+
config.serviceURL || 'https://rl-broadcaster-hub.algoux.cn',
191191
config.servicePath,
192192
config.clientId,
193193
);
@@ -508,7 +508,7 @@ app.whenReady().then(async () => {
508508
// 初始化 WebSocket 服务
509509
if (!webSocketService) {
510510
webSocketService = new WebSocketService(
511-
configManager.getConfigData.serviceURL || 'http://127.0.0.1:3001',
511+
configManager.getConfigData.serviceURL || 'https://rl-broadcaster-hub.algoux.cn',
512512
configManager.getConfigData.servicePath,
513513
configManager.getConfigData.clientId,
514514
);

src/electron/services/config-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class ConfigManager {
6969
JSON.stringify(
7070
{
7171
version: app.getVersion(),
72-
serviceURL: 'http://127.0.0.1:3001',
72+
serviceURL: 'https://rl-broadcaster-hub.algoux.cn',
7373
servicePath: undefined,
7474
clientId: uuidv4().substring(0, 18),
7575
appConfig: {

src/ui/components/settings-content.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class SettingsContent extends Vue {
119119
>
120120
<el-input
121121
v-model="appConfig.serviceURL"
122-
placeholder="http://127.0.0.1:3001"
122+
placeholder="https://rl-broadcaster-hub.algoux.cn"
123123
@blur="onServiceURLChange"
124124
/>
125125
</div>

0 commit comments

Comments
 (0)