link listResearchers to ResearcherProfile

This commit is contained in:
2024-04-19 12:35:07 +02:00
parent 3f4f6ed49a
commit a168d41aee
6 changed files with 33 additions and 20 deletions

View File

@ -29,8 +29,8 @@ export async function fetchAllResearches(){
export async function getFile(url){
const restURL = import.meta.env.VITE_CLYDE_MODE === 'container' ? "http://localhost:8000": import.meta.env.DEV ? "http://localhost:5173" : "https://clyde.herisson.ovh/api"
await fetch(restURL + "/"+url, {method: "GET"})
await fetch(restURL + "/" + url, {method: "GET"})
}
export async function addView(url){
return restPost("/addview/" +url)
return restPost("/addview/" + url)
}