From 683ffede46584a903ba3a552426786fe588e480e Mon Sep 17 00:00:00 2001 From: lukejianu <71729102+lukejianu@users.noreply.github.com> Date: Fri, 17 Nov 2023 19:41:10 -0500 Subject: [PATCH] fix path --- packages/api-client/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api-client/index.ts b/packages/api-client/index.ts index b33be5424..e5d5def33 100644 --- a/packages/api-client/index.ts +++ b/packages/api-client/index.ts @@ -40,9 +40,9 @@ class APIClient { return responseClass ? plainToInstance(responseClass, res) : res; } - constructor(baseURL = "api.graduate.com") { + constructor(url = "https://api.graduatenu.com/api") { this.axios = Axios.create({ - baseURL: baseURL, + url: url, headers: { "content-type": "application/json" }, }); }