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 committed 2022-07-11 13:33:25 +02:00
1 parent 3aedd9b2f1
commit 55b88186c0
18 files changed
+46 -46

No files matched your search

+1 -1
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
};
});