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