Skip to content

Commit

Permalink
fix: hardcode prod api url
Browse files Browse the repository at this point in the history
  • Loading branch information
gtangelo committed Aug 24, 2023
1 parent 2ec70e6 commit 0f3ff3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/config/api.ts
Original file line number Diff line number Diff line change
@@ -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' }
});
Expand Down

0 comments on commit 0f3ff3f

Please sign in to comment.