new filetag endpoint and config.php update

This commit is contained in:
Ryan
2025-04-10 10:33:13 -04:00
committed by GitHub
parent 894cc938a5
commit 4360f2830a
3 changed files with 49 additions and 4 deletions

View File

@@ -305,7 +305,7 @@ if (localStorage.getItem('globalTags')) {
// New function to load global tags from the server's persistent JSON.
export function loadGlobalTags() {
fetch("metadata/createdTags.json", { credentials: "include" })
fetch("getFileTag.php", { credentials: "include" })
.then(response => {
if (!response.ok) {
// If the file doesn't exist, assume there are no global tags.