Fix backend url conf
This commit is contained in:
1 parent
6723d42a5f
commit
1c10240b8d
19 files changed
+20
-20
No files matched your search
@@ -1,6 +1,6 @@
|
||||
export default async function getAllUser() {
|
||||
try {
|
||||
const res = await fetch(`http://${import.meta.env.VITE_API_URL}/api/users`, {
|
||||
const res = await fetch(`${import.meta.env.VITE_API_URL}/api/users`, {
|
||||
method: 'GET',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
|
||||
Reference in new issue
Block a user