MT#10587 Add baseurl to autoprov config vars

Yealink adds the mac automatically.
changes/55/555/6
Andreas Granig 11 years ago
parent 143486dd7c
commit f37d3df714

@ -1108,6 +1108,7 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() {
my $vars = {
config => {
url => "$schema://$host:$port/device/autoprov/config/$id",
baseurl => "$schema://$host:$port/device/autoprov/config/",
mac => $id,
},
firmware => {

Loading…
Cancel
Save