Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a07fcd

Browse files
authored
fix: ensure local derp uses the hostname (#6559)
This broke deployments that use a custom port with an accessURL. We should write a test for this!
1 parent8b125d6 commit4a07fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ flags, and YAML configuration. The precedence is as follows:
621621
Nodes: []*tailcfg.DERPNode{{
622622
Name:fmt.Sprintf("%db",cfg.DERP.Server.RegionID),
623623
RegionID:int(cfg.DERP.Server.RegionID.Value()),
624-
HostName:cfg.AccessURL.Host,
624+
HostName:cfg.AccessURL.Value().Hostname(),
625625
DERPPort:accessURLPort,
626626
STUNPort:-1,
627627
ForceHTTP:cfg.AccessURL.Scheme=="http",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp