This commit is contained in:
2026-02-25 20:52:13 +08:00
parent 79083be9ff
commit 993af5fc94
4 changed files with 4 additions and 21 deletions

View File

@@ -159,7 +159,7 @@
<div class="form-row">
<div class="form-group">
<label>中继服务器地址</label>
<input type="text" id="join-host" class="input" placeholder="relay.funmc.cn" value="localhost">
<input type="text" id="join-host" class="input" placeholder="fc.funmc.cn" value="localhost">
</div>
<div class="form-group">
<label>中继端口</label>
@@ -264,8 +264,6 @@
</div>
</div>
<div class="about-section">
<h4>技术信息</h4>
<p>基于 Electron + Node.js TCP 中继技术</p>
<p>支持 Java版 和 基岩版 Minecraft</p>
</div>
</div>

View File

@@ -266,21 +266,13 @@ export default function SettingsPage() {
<span className="text-text-muted"></span>
<span className="text-text-primary font-mono">0.1.0</span>
</div>
<div className="flex justify-between">
<span className="text-text-muted"></span>
<span className="text-accent-purple font-medium"></span>
</div>
<div className="flex justify-between">
<span className="text-text-muted"></span>
<a href="https://fc.funmc.cn" target="_blank" rel="noopener" className="text-accent-green hover:underline">fc.funmc.cn</a>
</div>
<div className="flex justify-between">
<span className="text-text-muted"></span>
<span className="text-text-primary">Tauri 2 + React</span>
</div>
<div className="flex justify-between">
<span className="text-text-muted"></span>
<span className="text-text-primary">QUIC (quinn) over UDP</span>
<span className="text-text-muted">使</span>
<a href="https://fc.funmc.cn/docs" target="_blank" rel="noopener" className="text-accent-green hover:underline">fc.funmc.cn/docs</a>
</div>
</div>
<div className="mt-4 pt-4 border-t border-border text-center">

View File

@@ -67,10 +67,6 @@ export default function SettingsScreen() {
<Text style={styles.aboutLabel}></Text>
<Text style={styles.aboutValue}>iOS / Android</Text>
</View>
<View style={styles.aboutRow}>
<Text style={styles.aboutLabel}></Text>
<Text style={styles.aboutValue}>React Native + Expo</Text>
</View>
<Text style={styles.copyright}>© 2024 FunMC Team</Text>
</View>
</ScrollView>

View File

@@ -163,11 +163,8 @@ export default function AddNode() {
</div>
<div className="bg-mc-dark/50 rounded-lg p-4 border border-mc-accent/10">
<h4 className="font-bold text-sm mb-2"></h4>
<p className="text-gray-400 text-xs leading-relaxed">
Ubuntu服务器已部署并运行了FunMC Relay Server
<code className="text-mc-green">IS_MASTER=false</code>
<code className="text-mc-green"> MASTER_URL</code>
</p>
</div>