update for 3.3.1

This commit is contained in:
2025-05-24 15:55:48 +07:00
parent 7782691604
commit dafd0af23d
28 changed files with 513 additions and 161 deletions

View File

@@ -5,7 +5,7 @@ import axios from 'axios';
export async function checkConnectTcpApi(): Promise<boolean> {
const { host, port, connectionType } = useSocketStore.getState()
let url = `${host}:${port}/check-tcp`
if (connectionType === "FireflyPSLocal") {
if (connectionType === "PS") {
url = "http://localhost:21000/check-tcp"
}
const response = await fetch(url, {