fix: 프론트엔드 API 호출 시 하드웨어 모달 및 맵 에디터에서 포트 3000 하드코딩 제거하고 상대 경로 프록시 사용하도록 수정

This commit is contained in:
이태훈
2026-06-25 10:48:52 +09:00
parent 2137ee364c
commit 8176180e52
2 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ export class MapEditor {
private async loadAssets() {
try {
const res = await fetch(`http://${location.hostname}:3000/api/assets/master`);
const res = await fetch(`/api/assets/master`);
const masterData = await res.json();
const allHw = [
...(masterData.pc || []),