update for 3.3.1
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user