|
@@ -26,7 +26,7 @@ try {
|
|
|
));
|
|
));
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
|
- ({ createSpApiRouter } = await import("../modules/fmode-amazon-sp-api/src/mod.ts"));
|
|
|
|
|
|
|
+ // ({ createSpApiRouter } = await import("../modules/fmode-amazon-sp-api/src/mod.ts"));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 本地开发模式加载
|
|
// 本地开发模式加载
|
|
@@ -42,7 +42,7 @@ try {
|
|
|
));
|
|
));
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
|
- ({ createSorftimeRouter } = await import('../modules/fmode-sorftime-api/src/mod.ts'));
|
|
|
|
|
|
|
+ // ({ createSorftimeRouter } = await import('../modules/fmode-sorftime-api/src/mod.ts'));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
router.use('/sorftime', createSorftimeRouter({
|
|
router.use('/sorftime', createSorftimeRouter({
|
|
@@ -56,7 +56,7 @@ try {
|
|
|
));
|
|
));
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);
|
|
|
- ({ createTikHubRoutes } = await import('../modules/fmode-tikhub-api/src/mod.ts'));
|
|
|
|
|
|
|
+ // ({ createTikHubRoutes } = await import('../modules/fmode-tikhub-api/src/mod.ts'));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|