-
![]()
+
Terms of Service
diff --git a/frontend/src/app/components/trademark-policy/trademark-policy.component.html b/frontend/src/app/components/trademark-policy/trademark-policy.component.html
index c790c66fa..4526a6c0c 100644
--- a/frontend/src/app/components/trademark-policy/trademark-policy.component.html
+++ b/frontend/src/app/components/trademark-policy/trademark-policy.component.html
@@ -69,27 +69,27 @@
-

+
The mempool Logo
-

+
The mempool.space Vertical Logo
-

+
The mempool.space Horizontal Logo
-

+
The mempool Square Logo
-

+
The mempool Blocks Logo
diff --git a/frontend/src/app/components/transaction/libwally.js b/frontend/src/app/components/transaction/libwally.js
index f72cbfc00..72095049a 100644
--- a/frontend/src/app/components/transaction/libwally.js
+++ b/frontend/src/app/components/transaction/libwally.js
@@ -28,7 +28,7 @@ const WALLY_OK = 0,
ASSET_TAG_LEN = 32,
BLINDING_FACTOR_LEN = 32;
-const WASM_URL = `./resources/wallycore/wallycore.js`;
+const WASM_URL = `/resources/wallycore/wallycore.js`;
let load_promise, Module;
export function load() {
diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html
index c66750f70..a6c10721f 100644
--- a/frontend/src/app/dashboard/dashboard.component.html
+++ b/frontend/src/app/dashboard/dashboard.component.html
@@ -97,7 +97,7 @@
+ onError="this.src = '/resources/mining-pools/default.svg'">
{{ block.extras.pool.name }}
|
diff --git a/frontend/src/app/dashboard/dashboard.component.ts b/frontend/src/app/dashboard/dashboard.component.ts
index 68c4ff35a..45b402314 100644
--- a/frontend/src/app/dashboard/dashboard.component.ts
+++ b/frontend/src/app/dashboard/dashboard.component.ts
@@ -151,7 +151,7 @@ export class DashboardComponent implements OnInit {
if (this.stateService.env.MINING_DASHBOARD === true) {
for (const block of acc) {
// @ts-ignore: Need to add an extra field for the template
- block.extras.pool.logo = `./resources/mining-pools/` +
+ block.extras.pool.logo = `/resources/mining-pools/` +
block.extras.pool.name.toLowerCase().replace(' ', '').replace('.', '') + '.svg';
}
}
diff --git a/frontend/src/app/services/audio.service.ts b/frontend/src/app/services/audio.service.ts
index bb765aa38..a0b27d168 100644
--- a/frontend/src/app/services/audio.service.ts
+++ b/frontend/src/app/services/audio.service.ts
@@ -18,7 +18,7 @@ export class AudioService {
return;
}
this.isPlaying = true;
- this.audio.src = '../../../resources/sounds/' + name + '.mp3';
+ this.audio.src = '/resources/sounds/' + name + '.mp3';
this.audio.load();
this.audio.volume = 0.65; // 65% volume
this.audio.play().catch((e) => {
diff --git a/frontend/src/app/services/mining.service.ts b/frontend/src/app/services/mining.service.ts
index 0f1b54235..63257fa74 100644
--- a/frontend/src/app/services/mining.service.ts
+++ b/frontend/src/app/services/mining.service.ts
@@ -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
};
});