warrior 8 hours ago
parent
commit
83eafe4171
1 changed files with 3 additions and 3 deletions
  1. 3 3
      api/routes.ts

+ 3 - 3
api/routes.ts

@@ -26,7 +26,7 @@ try {
   ));
 } catch (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) {
   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({
@@ -56,7 +56,7 @@ try {
   ));
 } catch (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'));
 }