Merge branch 'master' of https://git.theluyuan.com/luyuan/nolinoli
This commit is contained in:
28
main.js
28
main.js
@@ -1,24 +1,10 @@
|
||||
// import BtDonwold from "./util/index.js";
|
||||
import Koa from "koa"
|
||||
import requter from "./util/Router.js"
|
||||
const app = new Koa();
|
||||
|
||||
|
||||
// const bt = new BtDonwold({
|
||||
// ip:"127.0.0.1",
|
||||
// port:17844
|
||||
// })
|
||||
app.use(async ctx => {
|
||||
ctx.body = 'Hello World';
|
||||
});
|
||||
|
||||
// const str = bt.base64_encode("C:/Users/116296/Desktop/debian-edu-11.0.0-amd64-netinst.iso.torrent")
|
||||
// bt.addTask("C:/Users/116296/Desktop/debian-edu-11.0.0-amd64-netinst.iso.torrent")
|
||||
// bt.getList()
|
||||
// bt.delete("899d629411da83faf1893f77266d8b40b3adecde")
|
||||
|
||||
// import Reptile from "./util/reptileutil.js";
|
||||
|
||||
// const reptile = new Reptile()
|
||||
// async function getlist (){
|
||||
// let list = await reptile.find("阴阳眼见子")
|
||||
// for(let i of list){
|
||||
// reptile.getepisode(i.name)
|
||||
// }
|
||||
// }
|
||||
// // 第*集
|
||||
// getlist()
|
||||
app.listen(4000)
|
||||
|
||||
Reference in New Issue
Block a user