声望测试
This commit is contained in:
2
public/js/jswebrtc.min.js
vendored
Normal file
2
public/js/jswebrtc.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
16
public/js/jswebrtcnew.js
Normal file
16
public/js/jswebrtcnew.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// 覆盖 startLoading,强制 HTTPS + 域名,不用 1985
|
||||
(function() {
|
||||
const oldStartLoading = JSWebrtc.Player.prototype.startLoading;
|
||||
|
||||
JSWebrtc.Player.prototype.startLoading = function() {
|
||||
// 强制域名
|
||||
this.urlParams.server = "ri.satabot.com";
|
||||
// 使用 HTTPS 默认端口(内部拼接会自动处理)
|
||||
delete this.urlParams.port;
|
||||
// this.urlParams.port = 443;
|
||||
// 强制 play API 路径
|
||||
this.urlParams.user_query.play = "/rtc/rtc/v1/play/";
|
||||
|
||||
return oldStartLoading.apply(this, arguments);
|
||||
};
|
||||
})();
|
||||
83
public/js/tailwind.js
Normal file
83
public/js/tailwind.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user