MT#3977 Set proper config.url parameter.

apogrebennyk/3_1_force_outbound
Andreas Granig 12 years ago
parent c8d1a837bf
commit 02207fc4bb

@ -905,7 +905,7 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() {
my $vars = {
config => {
url => $c->uri_for,
url => 'http://' . $c->req->uri->host . ':' . ($c->config->{web}->{autoprov_plain_port} // '1444') . '/device/autoprov/config/' . $id,
},
firmware => {
},

Loading…
Cancel
Save