refactored/cleaned up API + added support for renaming tags

This commit is contained in:
daniel31x13
2023-10-23 00:28:39 -04:00
parent 24cced9dba
commit ed24685aaf
48 changed files with 603 additions and 305 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export default function useLinks(
const encodedData = encodeURIComponent(JSON.stringify(requestBody));
const response = await fetch(
`/api/links?body=${encodeURIComponent(encodedData)}`
`/api/v1/links?body=${encodeURIComponent(encodedData)}`
);
const data = await response.json();