Skip to content

Commit

Permalink
Fix: API URL 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yongseong2 committed Nov 5, 2024
1 parent 711247a commit 8d8f43a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/instance.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import axios from 'axios';
import { store } from '../store';

const LOCAL = 'https://k1ec344612739a.user-app.krampoline.com/api';
const Prod = '/api';
const API_URL = import.meta.env.MODE === 'development' ? LOCAL : Prod;
const API_URL = 'https://k1ec344612739a.user-app.krampoline.com/api';

const instance = axios.create({
baseURL: API_URL,
Expand Down

0 comments on commit 8d8f43a

Please sign in to comment.