Skip to content
This repository was archived by the owner on Mar 21, 2020. It is now read-only.
This repository was archived by the owner on Mar 21, 2020. It is now read-only.

连接地址拼接失败 #28

Description

@BoleLee
import io from 'wxapp-socket-io'
var socket = io('https://xxx.xxx.net/socket/socket.io') 

生成出来的地址不对,不写端口好像不行,而且端口后面的路径无法自己控制,怎么写都是生成:https://xxx.xxx.net:xxx/socket.io/?EIO=3&transport=websocket

web连接的demo是可以正常连接的:

var socket = io.connect('https://xxx.xxx.net', {path: "/socket/socket.io"});

求教

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions