Skip to content

Commit 869feee

Browse files
committed
Fix API endpoint in ScriptContent to use the correct Proxmox path for fetching categories data
1 parent 2796b54 commit 869feee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/scripts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function ScriptContent() {
4747
};
4848

4949
useEffect(() => {
50-
fetch("/api/categories")
50+
fetch("Proxmox/api/categories")
5151
.then((response) => response.json())
5252
.then((categories) => {
5353
const sortedCategories = sortCategories(categories);

0 commit comments

Comments
 (0)