mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-27 21:10:24 +08:00
Merge branch 'koogua/v1.4.5' into demo
This commit is contained in:
commit
2b50eb2e5c
@ -54,7 +54,7 @@ class PublicController extends Controller
|
||||
*/
|
||||
if ($this->request->isSecure()) {
|
||||
list($domain) = explode(':', $websocket->connect_address);
|
||||
$websocket['connect_url'] = sprintf('wss://%s/wss', $domain);
|
||||
$content['connect_url'] = sprintf('wss://%s/wss', $domain);
|
||||
} else {
|
||||
$content['connect_url'] = sprintf('ws://%s', $websocket->connect_address);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user