diff --git a/src/server/getProfile.ts b/src/server/getProfile.ts index 3d220ae..984ef40 100644 --- a/src/server/getProfile.ts +++ b/src/server/getProfile.ts @@ -3,6 +3,8 @@ import { Profile } from "../types/Profile.ts"; export const getProfile = async () => { const baseurl = Deno.env.get("BASE_URL") || "http://localhost:8000/api"; + console.log("baseurl", baseurl); + const response = await fetch(`${baseurl}/profile`); return await response.json() as Profile; };