Bug fixes

This commit is contained in:
2025-09-27 14:03:48 +02:00
parent 24aefe7838
commit aec851f0d1
5 changed files with 32 additions and 15 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export default function useUser() {
try {
const res = (
await axios.get("http://localhost:3000/api/user", {
await axios.get("/api/user", {
params: { token },
})
).data as User;