Skip to content

Commit

Permalink
fix: removed hardcoded localhost link (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-zReeZ committed Jul 10, 2024
1 parent 4a32441 commit f95ef11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextjs-interface/src/app/ui/dashboard/AddUserElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function AddUserElement({
const token = getToken();

try {
const response = await fetch("http://localhost/postgrest/users", {
const response = await fetch(`/postgrest/users`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit f95ef11

Please sign in to comment.