@daeryun/dr_components 0.9.42 → 0.9.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,8 +195,7 @@ const StepTwo = () => {
195
195
  // API 호출 함수
196
196
  const fetchFieldData = (centerCode) => __awaiter(void 0, void 0, void 0, function* () {
197
197
  try {
198
- // 외부 프로젝트의 프록시를 통해 요청
199
- const response = yield fetch(`http://localhost:3000/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`);
198
+ const response = yield fetch(`/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`);
200
199
  if (!response.ok) {
201
200
  throw new Error(`API 호출 실패: ${response.status}`);
202
201
  }
@@ -248,10 +248,7 @@ const StepTwo = () => {
248
248
  // API 호출 함수
249
249
  const fetchFieldData = async (centerCode: string) => {
250
250
  try {
251
- // 외부 프로젝트의 프록시를 통해 요청
252
- const response = await fetch(
253
- `http://localhost:3000/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`
254
- );
251
+ const response = await fetch(`/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`);
255
252
 
256
253
  if (!response.ok) {
257
254
  throw new Error(`API 호출 실패: ${response.status}`);