front add manageProfileApp
This commit is contained in:
1 parent
8c70108a1c
commit
3ea48c20aa
2 files changed
+7
-2
No files matched your search
@@ -18,4 +18,8 @@ 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")
|
||||
}
|
||||
Reference in new issue
Block a user