θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/models/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ const System = {
if (!res.ok) throw new Error("Could not fetch app version.");
return res.json();
})
.then((res) => res?.version)
.then((res) => res?.appVersion)
.catch(() => null);

if (!newVersion) return null;
Expand Down
2 changes: 1 addition & 1 deletion server/endpoints/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function utilEndpoints(app) {
: "single-user",
vectorDB: process.env.VECTOR_DB || "lancedb",
storage: await getDiskStorage(),
version: getDeploymentVersion(),
appVersion: getDeploymentVersion(),
};
response.status(200).json(metrics);
} catch (e) {
Expand Down