From 37f5121ab2b11d02159f866472d2b644f50ff63f Mon Sep 17 00:00:00 2001 From: frederic wagner Date: Sun, 6 Nov 2022 07:39:12 +0100 Subject: [PATCH] minor change --- apps/gipy_uploader/custom.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/gipy_uploader/custom.html b/apps/gipy_uploader/custom.html index e8b9f4b77..0bbfbf612 100644 --- a/apps/gipy_uploader/custom.html +++ b/apps/gipy_uploader/custom.html @@ -35,16 +35,15 @@ const reader = new FileReader(); reader.onload = function fileReadCompleted() { console.log("reading file completed"); - // when the reader is done, the content is in reader.result. - console.log(reader.result); init().then(() => { let gpc_file = convert_gpx_strings(reader.result); + console.log("uploading"); sendCustomizedApp({ storage:[ - {name:gpc_filename, content:gpc_file}, + {name:gpc_filename, url:'test.gpc', content:gpc_file}, ] }); });