Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0a7b05

Browse files
committed
wip
1 parent c1a9994 commit d0a7b05

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

internal/cmd/agent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ coder agent start --coder-url https://my-coder.com --token xxxx-xxxx
5757
RunE: func(cmd *cobra.Command, args []string) error {
5858
ctx := cmd.Context()
5959
log := slog.Make(sloghuman.Sink(cmd.OutOrStdout()))
60+
log = log.Leveled(slog.LevelDebug)
6061

6162
if coderURL == "" {
6263
var ok bool

internal/cmd/tunnel.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ coder tunnel my-dev 3000 3000
3636
RunE: func(cmd *cobra.Command, args []string) error {
3737
ctx := context.Background()
3838
log := slog.Make(sloghuman.Sink(os.Stderr))
39+
log = log.Leveled(slog.LevelDebug)
3940

4041
remotePort, err := strconv.ParseUint(args[1], 10, 16)
4142
if err != nil {

internal/x/xwebrtc/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func NewPeerConnection() (*webrtc.PeerConnection, error) {
1212
return api.NewPeerConnection(webrtc.Configuration{
1313
ICEServers: []webrtc.ICEServer{
1414
{
15-
URLs: []string{"stun:stun.l.google.com:19302"},
15+
URLs: []string{"stun:35.239.172.66:3478?transport=tcp"},
1616
},
1717
},
1818
})

0 commit comments

Comments
 (0)