diff options
author | Paul Spooren <paul@spooren.de> | 2017-08-04 18:09:43 +0200 |
---|---|---|
committer | Paul Spooren <paul@spooren.de> | 2017-08-04 18:09:43 +0200 |
commit | a22f050861ed8addc6b5fdaa7b3a3caf4cb379e3 (patch) | |
tree | 0ebe8b22750ab9daf10c7612f9a017f6db6e7775 /applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm | |
parent | d082ed964bc85ad87203d6564394258cb096365a (diff) |
luci-app-attendedsysupgrade: remove leading slash
the slash leads to // redirecting to /. The redirecting causes problems
with CORS [1].
[1]: http://enable-cors.org/
Signed-off-by: Paul Spooren <paul@spooren.de>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm')
-rw-r--r-- | applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm index 8bcec3b49..4f8bf7cc9 100644 --- a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm +++ b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm @@ -178,7 +178,7 @@ function image_request() { request_dict = {} request_dict.version = latest_version; request_dict.board = data.board_name - server_request(request_dict, "/image-request", image_request_handler) + server_request(request_dict, "image-request", image_request_handler) } function image_request_handler(response) { |