SetURLBase on PresentationURL as well.
This commit is contained in:
parent
c7f69f6a43
commit
58cc710720
@ -54,6 +54,7 @@ type Device struct {
|
|||||||
func (device *Device) SetURLBase(urlBase *url.URL) {
|
func (device *Device) SetURLBase(urlBase *url.URL) {
|
||||||
device.ManufacturerURL.SetURLBase(urlBase)
|
device.ManufacturerURL.SetURLBase(urlBase)
|
||||||
device.ModelURL.SetURLBase(urlBase)
|
device.ModelURL.SetURLBase(urlBase)
|
||||||
|
device.PresentationURL.SetURLBase(urlBase)
|
||||||
for _, icon := range device.Icons {
|
for _, icon := range device.Icons {
|
||||||
icon.SetURLBase(urlBase)
|
icon.SetURLBase(urlBase)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user