Skip to content

Commit 70d6cc6

Browse files
committed
Fix API endpoint in ScriptContent to use the relative path
1 parent 869feee commit 70d6cc6

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("Proxmox/api/categories")
50+
fetch("api/categories")
5151
.then((response) => response.json())
5252
.then((categories) => {
5353
const sortedCategories = sortCategories(categories);

0 commit comments

Comments
 (0)