From 0f3ff3f0c281af39be3c5a188f8ffa1fa6ffd71b Mon Sep 17 00:00:00 2001 From: Gabriel Ting <65492346+gtangelo@users.noreply.github.com> Date: Thu, 24 Aug 2023 15:28:13 +0800 Subject: [PATCH] fix: hardcode prod api url --- frontend/config/api.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/config/api.ts b/frontend/config/api.ts index 73072c463..ba66f1321 100644 --- a/frontend/config/api.ts +++ b/frontend/config/api.ts @@ -1,8 +1,7 @@ import axios from 'axios'; const api = axios.create({ - baseURL: - process.env.NEXT_PUBLIC_API_BASE_URL || 'https://jobsboard.staging.csesoc.unsw.edu.au/api/', + baseURL: process.env.NEXT_PUBLIC_API_BASE_URL || 'https://jobsboard.csesoc.unsw.edu.au/api/', timeout: 5000, headers: { 'Content-Type': 'application/json', Accept: 'application/json' } });