refactor: localhost 하드코딩 변경
This commit is contained in:
parent
5de078b0b7
commit
7894d8833a
@ -1132,7 +1132,7 @@ const uploadMenuImage = async (menuId) => {
|
|||||||
|
|
||||||
// ✅ 이미지 전용 API 인스턴스 생성
|
// ✅ 이미지 전용 API 인스턴스 생성
|
||||||
const imageApiInstance = axios.create({
|
const imageApiInstance = axios.create({
|
||||||
baseURL: 'http://localhost:8082', // 포트만 지정
|
baseURL: 'http://smarketing.20.249.184.228.nip.io', // 포트만 지정
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'multipart/form-data'
|
'Content-Type': 'multipart/form-data'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user