Update boot.html

This commit is contained in:
DJObleezy 2025-03-29 21:27:27 -07:00 committed by GitHub
parent ac52bb8579
commit 8b8cfa5ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,7 +264,7 @@
let bootComplete = false; let bootComplete = false;
let configLoaded = false; let configLoaded = false;
let currentConfig = { let currentConfig = {
wallet: "bc1py5zmrtssheq3shd8cptpl5l5m3txxr5afynyg2gyvam6w78s4dlqqnt4v9", wallet: "yourwallethere",
power_cost: 0.0, power_cost: 0.0,
power_usage: 0.0 power_usage: 0.0
}; };
@ -293,7 +293,7 @@
console.error("Error loading config:", err); console.error("Error loading config:", err);
// Use default values if loading fails // Use default values if loading fails
currentConfig = { currentConfig = {
wallet: "bc1py5zmrtssheq3shd8cptpl5l5m3txxr5afynyg2gyvam6w78s4dlqqnt4v9", wallet: "yourwallethere",
power_cost: 0.0, power_cost: 0.0,
power_usage: 0.0 power_usage: 0.0
}; };
@ -389,7 +389,7 @@
console.log("Use Defaults button clicked"); console.log("Use Defaults button clicked");
// Always use the hardcoded default values, not the currentConfig // Always use the hardcoded default values, not the currentConfig
const defaultWallet = "bc1py5zmrtssheq3shd8cptpl5l5m3txxr5afynyg2gyvam6w78s4dlqqnt4v9"; const defaultWallet = "yourwallethere";
const defaultPowerCost = 0.0; const defaultPowerCost = 0.0;
const defaultPowerUsage = 0.0; const defaultPowerUsage = 0.0;