frontend URLs: ./resources -> /resources

This patch was created by:
find ./frontend -type f -exec sed -i 's|\./resources|/resources|g' {} \;
This commit is contained in:
Erik Arvstedt
2022-07-11 13:32:24 +02:00
parent 90b9c5fe8a
commit 355e89ce55
18 changed files with 46 additions and 46 deletions

View File

@@ -96,7 +96,7 @@ export class MiningService {
share: parseFloat((poolStat.blockCount / stats.blockCount * 100).toFixed(2)),
lastEstimatedHashrate: (poolStat.blockCount / stats.blockCount * stats.lastEstimatedHashrate / hashrateDivider).toFixed(2),
emptyBlockRatio: (poolStat.emptyBlocks / poolStat.blockCount * 100).toFixed(2),
logo: `./resources/mining-pools/` + poolStat.name.toLowerCase().replace(' ', '').replace('.', '') + '.svg',
logo: `/resources/mining-pools/` + poolStat.name.toLowerCase().replace(' ', '').replace('.', '') + '.svg',
...poolStat
};
});