Skip to content

Commit

Permalink
Fix API endpoint in ScriptContent to use the relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
BramSuurdje committed Nov 3, 2024
1 parent 869feee commit 70d6cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/scripts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function ScriptContent() {
};

useEffect(() => {
fetch("Proxmox/api/categories")
fetch("api/categories")
.then((response) => response.json())
.then((categories) => {
const sortedCategories = sortCategories(categories);
Expand Down

0 comments on commit 70d6cc6

Please sign in to comment.