@daeryun/dr_components 0.9.38 → 0.9.39
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,7 +195,7 @@ const StepTwo = () => {
|
|
|
195
195
|
// API 호출 함수
|
|
196
196
|
const fetchFieldData = (centerCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
197
197
|
try {
|
|
198
|
-
//
|
|
198
|
+
// 상대 경로로 호출 - 자동으로 현재 프로젝트의 도메인 사용
|
|
199
199
|
const response = yield fetch(`/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`);
|
|
200
200
|
if (!response.ok) {
|
|
201
201
|
throw new Error(`API 호출 실패: ${response.status}`);
|
|
@@ -248,7 +248,7 @@ const StepTwo = () => {
|
|
|
248
248
|
// API 호출 함수
|
|
249
249
|
const fetchFieldData = async (centerCode: string) => {
|
|
250
250
|
try {
|
|
251
|
-
//
|
|
251
|
+
// 상대 경로로 호출 - 자동으로 현재 프로젝트의 도메인 사용
|
|
252
252
|
const response = await fetch(`/api/mng/app/seo-template/field/list-by-center?center_code=${centerCode}`);
|
|
253
253
|
|
|
254
254
|
if (!response.ok) {
|
|
@@ -262,6 +262,7 @@ const StepTwo = () => {
|
|
|
262
262
|
return { result: false, data: [] };
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
|
+
|
|
265
266
|
const data1 = {
|
|
266
267
|
result: true,
|
|
267
268
|
data: [
|