Explorar o código

update modules fmode-brightdata-server

warrior hai 11 horas
pai
achega
e2655fe22d
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 1 1
      api/routes.ts
  2. 3 1
      docs/task/20260226959.md

+ 1 - 1
api/routes.ts

@@ -91,7 +91,7 @@ router.use(
 let createPinterestRouter;
 try {
   ({ createPinterestRouter } = await globalThis.loadModule(
-    'https://repos.fmode.cn/x/fmode-brightdata-api/1.0.0/fmode-brightdata-api.min.js?code=xxxxxxx'
+    'https://repos.fmode.cn/x/fmode-brightdata-api/0.0.1/fmode-brightdata-api.min.js?code=xxxxxxx'
   ));
 } catch (e) {
   console.warn("[API Routes] CDN 加载失败, 使用本地模块回退", e);

+ 3 - 1
docs/task/20260226959.md

@@ -1 +1,3 @@
-- 请您参考modules\fmode-sorftime-api的模式,完成对modules\fmode-tikhub-server及fmode-brightdata-server的封装,最终需要通过build.sh打包,通过upload.sh发布上传,最终使用方法参考api\routes.ts
+- 请您参考modules\fmode-sorftime-api的模式,完成对modules\fmode-tikhub-server及fmode-brightdata-server的封装,最终需要通过build.sh打包,通过upload.sh发布上传,最终使用方法参考api\routes.ts
+
+- 请您参考modules\fmode-tikhub-server\src,完善fmode-brightdata-server导出的模块