added ListResearch App

This commit is contained in:
2024-04-18 17:17:29 +02:00
parent 14c5423328
commit fed567e9ab
8 changed files with 88 additions and 8 deletions

View File

@ -31,3 +31,6 @@ 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"})
}
export async function addView(url){
return restPost("/addview/" +url)
}