1
0
forked from PGL/Clyde

patch Researcher Profile and researches

This commit is contained in:
2024-04-17 23:00:37 +02:00
parent 47f1bffb24
commit 3281bf1d7e
8 changed files with 421 additions and 26 deletions

View File

@ -18,8 +18,4 @@ export async function addView(url){
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 getSelf(){
return restGet("/researcher")
}