- Messages
- 244
- Country
Hi I'm able to 'fetch' files from within the gauge JS with a simple:
fetch("/Pages/VCockpit/Instruments/JS3-18/b21_nav_lx/b21_leaflet_map/airports.json").then( ...)
BUT this seems to expect "html_ui" to be at the root of the served content. I'd like to read e.g. flight_model.cfg under my package SimObjects branch - any idea how I might do that in html/js? Or is it something WASM can do?
thanks
B21
fetch("/Pages/VCockpit/Instruments/JS3-18/b21_nav_lx/b21_leaflet_map/airports.json").then( ...)
BUT this seems to expect "html_ui" to be at the root of the served content. I'd like to read e.g. flight_model.cfg under my package SimObjects branch - any idea how I might do that in html/js? Or is it something WASM can do?
thanks
B21