Network: allow configuring external url (BC) (#25285)
This commit is contained in:
parent
bb61acc99c
commit
b535d2ed07
14 changed files with 195 additions and 126 deletions
|
|
@ -261,13 +261,13 @@ func runRoot(cmd *cobra.Command, args []string) {
|
|||
}
|
||||
|
||||
// announce on mDNS
|
||||
if err == nil && strings.HasSuffix(conf.Network.Host, ".local") {
|
||||
if err == nil {
|
||||
err = configureMDNS(conf.Network)
|
||||
}
|
||||
|
||||
// start SHM server
|
||||
if err == nil {
|
||||
err = wrapErrorWithClass(ClassSHM, configureSHM(&conf.SHM, site, httpd))
|
||||
err = wrapErrorWithClass(ClassSHM, configureSHM(&conf.SHM, conf.Network.ExternalURL(), site, httpd))
|
||||
}
|
||||
|
||||
// start HEMS server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue