Skip to content

doesn't work on servers or using ngrok.exe over https #258

@diegosystem32

Description

@diegosystem32

Have a question?
doesn't work on https://render.com/ and does not work over https or mgrok.exe...

Describe the bug
doesn't work on https://render.com/ and does not work over https or mgrok.exe...

Have a question?
how to use it on https://render.com/, I have some APIs there to study, but geckos.io didn't work on https, it doesn't connect to the server, but it works on localhost, which way is right, or simple example code from configure for a server.?

how am i used Node 18, server.mjs:
`// listen on port 5000 (default is 9208)
const PORT = process.env.PORT || 10000;

//###without express###
import geckos, { iceServers } from '@geckos.io/server'
const io = geckos({
iceServers: process.env.NODE_ENV === 'production' ? iceServers : [],
multiplex: true,
cors: { allowAuthorization: true },
})

io.onConnection((channel) => { console.log('connected: ', channel.id)
io.listen(PORT)`

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