Update thunderapi/thunderapi.ts
Browse files- thunderapi/thunderapi.ts +3 -2
thunderapi/thunderapi.ts
CHANGED
|
@@ -6,8 +6,7 @@
|
|
| 6 |
// 4. PikPakApi class implementation
|
| 7 |
// 5. Server implementation with Oak
|
| 8 |
// fuck
|
| 9 |
-
|
| 10 |
-
import "./tgbot.ts";
|
| 11 |
|
| 12 |
import { Application, Router, Context, Status } from "https://deno.land/x/oak/mod.ts";
|
| 13 |
import { oakCors } from "https://deno.land/x/cors/mod.ts";
|
|
@@ -2748,3 +2747,5 @@ if (import.meta.main) {
|
|
| 2748 |
|
| 2749 |
await app.listen({ port });
|
| 2750 |
}
|
|
|
|
|
|
|
|
|
| 6 |
// 4. PikPakApi class implementation
|
| 7 |
// 5. Server implementation with Oak
|
| 8 |
// fuck
|
| 9 |
+
|
|
|
|
| 10 |
|
| 11 |
import { Application, Router, Context, Status } from "https://deno.land/x/oak/mod.ts";
|
| 12 |
import { oakCors } from "https://deno.land/x/cors/mod.ts";
|
|
|
|
| 2747 |
|
| 2748 |
await app.listen({ port });
|
| 2749 |
}
|
| 2750 |
+
// 导入原始机器人代码
|
| 2751 |
+
import "./tgbot.ts";
|