mirror of
https://github.com/yhl452493373/frpc-panel.git
synced 2026-04-04 14:27:01 +08:00
fix dashboard_addr https issue
This commit is contained in:
@@ -76,7 +76,7 @@ func parseConfigFile(configFile, tokensFile string) (controller.HandleController
|
|||||||
log.Fatalf("decode config file %v error: %v", configFile, err)
|
log.Fatalf("decode config file %v error: %v", configFile, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
common.Common.DashboardTls = strings.HasPrefix("https://", strings.ToLower(common.Common.DashboardAddr))
|
common.Common.DashboardTls = strings.HasPrefix(strings.ToLower(common.Common.DashboardAddr), "https://")
|
||||||
|
|
||||||
tls := server.TLS{
|
tls := server.TLS{
|
||||||
Enable: common.Common.TlsMode,
|
Enable: common.Common.TlsMode,
|
||||||
|
|||||||
Reference in New Issue
Block a user