From 34289fb5adb8685b6068ba7764d23bc988dedd90 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 16 Sep 2022 09:22:20 -0700 Subject: proxy map tiles --- src/components/LocationsMap.svelte | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte index bf2e4339..699ea852 100644 --- a/src/components/LocationsMap.svelte +++ b/src/components/LocationsMap.svelte @@ -34,16 +34,12 @@ }); leaflet - .tileLayer('http://{s}tile.stamen.com/toner/{z}/{x}/{y}.png', { - // leaflet.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + .tileLayer('https://coinos.io/toner/{z}/{x}/{y}.png', { maxZoom: 19, subdomains: ['', 'a.', 'b.', 'c.', 'd.'] }) .addTo(map); - // let tonerLayer = new L.StamenTileLayer("toner"); - // map.addLayer(tonerLayer); - leaflet .marker([49.27034, -123.141373]) .addTo(map) -- cgit v1.2.3 From 83ac6e6114a0efb6fbea9c11d95932103fb2c636 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 16 Sep 2022 10:42:26 -0700 Subject: fix sats amount formatting --- src/routes/invoice/[id]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte index 35bd06bb..c69ff5f0 100644 --- a/src/routes/invoice/[id]/+page.svelte +++ b/src/routes/invoice/[id]/+page.svelte @@ -75,7 +75,7 @@ $: totalAmountFormatted = f(amountFiat + parseFloat(tipAmount), currency); - const amountFormatted = f(amount, currency); + const amountFormatted = s(amount); $: invoiceAmountFiatFormatted = f(amountFiat, currency); -- cgit v1.2.3