mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update boot.html
This commit is contained in:
parent
ac52bb8579
commit
8b8cfa5ff1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user