自建Meting服务

前言

听人说Meting官方API证书过期了,也就是说MetingAPI得自建了

然后很快啊,有人就搞出了自建MetingAPI的Vercel版本

教程

后端部署

点击下方按钮,跳转至 Vercel: 跳转到Vercel名字随便写,然后点击“Create” msedge_4fdyFO3sCF 看到这个就算成功了 msedge_fs4WGcMy4l
去https://github.com/injahow/meting-api/releases 下载编译好的压缩包上传到服务器上(服务器必须开启跨域!)

前端部署

Butterfly主题

编辑[Blogroot]\themes\butterfly\layout\includes\third-party\aplayer.pug

COPY
1
2
3
4
5
link(rel='stylesheet' href=url_for(theme.asset.aplayer_css) media="print" onload="this.media='all'")
script(src=url_for(theme.asset.aplayer_js))
script(src=url_for(theme.asset.meting_js))
+ script.
+   var meting_api='https://(你的api地址)/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r';

HTML代码

COPY
1
2
3
<script>
var meting_api='https://(你的api地址)/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r';
</script>
作者: 王九弦SZ·Ninty
文章链接: https://blog.storia.ren/posts/61417/
版权声明: All posts on this blog are licensed under the CC BY-NC-SA 4.0 license unless otherwise stated. Please cite 绘星里 !

评论