refactored api routes
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ export default function useLinks(
|
||||
const encodedData = encodeURIComponent(JSON.stringify(requestBody));
|
||||
|
||||
const response = await fetch(
|
||||
`/api/routes/links?body=${encodeURIComponent(encodedData)}`
|
||||
`/api/links?body=${encodeURIComponent(encodedData)}`
|
||||
);
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
Reference in New Issue
Block a user