vec to string ?

pull/2234/head
frederic wagner 2022-11-06 08:03:08 +01:00
parent d8ca24c817
commit 88ebd14fbd
1 changed files with 2 additions and 1 deletions

View File

@ -39,11 +39,12 @@
init().then(() => { init().then(() => {
let gpc_file = convert_gpx_strings(reader.result); let gpc_file = convert_gpx_strings(reader.result);
let gpc_string = String.fromCharCode.apply(String, gpc_file);
console.log("uploading"); console.log("uploading");
sendCustomizedApp({ sendCustomizedApp({
storage:[ storage:[
{name:gpc_filename, url:'test.gpc', content:gpc_file}, {name:gpc_filename, url:'test.gpc', content:gpc_string},
] ]
}); });
}); });