Fix (Update): No update notification in the global menu

This commit is contained in:
SiriusXT 2025-08-15 16:04:59 +08:00
parent 1a15782686
commit ab1d8594ea

View File

@ -414,7 +414,7 @@ export default class GlobalMenuWidget extends BasicWidget {
} }
async fetchLatestVersion() { async fetchLatestVersion() {
const RELEASES_API_URL = "https://api.github.com/repos/TriliumNext/Notes/releases/latest"; const RELEASES_API_URL = "https://api.github.com/repos/TriliumNext/Trilium/releases/latest";
const resp = await fetch(RELEASES_API_URL); const resp = await fetch(RELEASES_API_URL);
const data = await resp.json(); const data = await resp.json();