diff --git a/packages/app/constants/settings/about/index.jsx b/packages/app/constants/settings/about/index.jsx index ada173a6..0893ab9f 100755 --- a/packages/app/constants/settings/about/index.jsx +++ b/packages/app/constants/settings/about/index.jsx @@ -1,6 +1,8 @@ import React from "react" import * as antd from "antd" +import { version as linebridgeVersion } from "linebridge/package.json" + import { Icons } from "components/Icons" import config from "config" @@ -13,27 +15,6 @@ const connectionsTooltipStrings = { warning: "This connection is secure but the server cannot be verified on the trusted certificate authority.", } -const Footer = () => { - const isDevMode = window.__evite?.env?.NODE_ENV !== "production" - - return
-
-
{config.app?.siteName}
-
- - v{window.app.version} - -
-
- - {isDevMode ? : } - {isDevMode ? "development" : "production"} - -
-
-
-} - const latencyToColor = (latency, type) => { switch (type) { case "http": { @@ -98,19 +79,6 @@ export default { } } - const fetchServerHealth = async () => { - const response = await app.cores.api.customRequest({ - method: "GET", - url: "/server/health", - }).catch(() => null) - - console.log(response.data) - - if (response) { - setServerHealth(response.data) - } - } - const measurePing = async () => { const result = await app.cores.api.measurePing() @@ -123,13 +91,11 @@ export default { checkServerVersion() checkServerOrigin() - fetchServerHealth() measurePing() setCapacitorInfo() const measureInterval = setInterval(() => { - fetchServerHealth() measurePing() }, 3000) @@ -237,20 +203,6 @@ export default { -
-
-

Instance usage

-
- -
- -
-
-
@@ -287,7 +239,21 @@ export default {
-

Evite Engine

+

Linebridge Engine

+
+ +
+ {linebridgeVersion ?? globalThis._linebrige_version ?? "Unknown"} +
+
+ +
+
+
+ +
+ +

Evite Framework