When i reload the app, it comes up with a non-std C++ exception. I wish to use the outcome variable globally, so i can use it elsewhere within the code. It really works high quality when run by internet on my laptop computer.
attempt {
const response = await fetch('APITOMFOOLERY');
const outcome = await response.json();
globalThis.outcome = outcome
} catch (error) {
console.error(error);
}
console.log(outcome)
var by = outcome.handle
var vær = outcome.currentConditions.circumstances
var temperatur = outcome.currentConditions.temp
What i needed to occur, is for the app to run usually prefer it does on the net.