站点折腾

自建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

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代码

<script>
var meting_api='https://(你的api地址)/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r';
</script>
知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议
本文采用 CC BY-NC-SA 4.0 协议进行许可,转载请注明出处。
查看完整协议

评论

正在加载评论。。。。。。
如果等了很久没有评论框显示,说明评论系统出现问题。
如遇这种情况,请联系站长:email@sinzmise.top

WebMention 加载中...

本文支持 WebMention 协议。 若你在自己的站点引用了本文,可在此通知我,引用将展示在下方。 了解 WebMention

正在加载 WebMention...