1
0
Fork 0
out-of-your-element-fork-th.../m2d/appservice.js

9 lines
229 B
JavaScript
Raw Normal View History

2023-06-28 20:08:17 +00:00
const reg = require("../matrix/read-registration")
const AppService = require("matrix-appservice").AppService
const as = new AppService({
homeserverToken: reg.hs_token
})
as.listen(+(new URL(reg.url).port))
module.exports = as