Skip to content

Commit

Permalink
fix: change api url
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed Feb 15, 2024
1 parent e291400 commit ec4d014
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import axios from 'axios';

const api = axios.create({ baseURL: 'https://wayu.hackathon.sparcs.net/' });
const api = axios.create({
// baseURL: 'https://wayu.hackathon.sparcs.net/'
baseURL: 'https://fc5c-49-165-90-85.ngrok-free.app',
});

api.interceptors.request.use((config) => {
const token = localStorage.getItem('accessToken');
Expand Down

0 comments on commit ec4d014

Please sign in to comment.