Merge branch 'master' into affiliate

This commit is contained in:
Benjamin Wilson
2025-02-01 15:32:32 -05:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
# Docker build environment #
############################
FROM node:18.16.1-bookworm-slim AS build
FROM node:lts-bookworm-slim AS build
# Upgrade all packages and install dependencies
RUN apt-get update \
@@ -23,7 +23,7 @@ RUN npm i && npm run build
# Docker final environment #
############################
FROM caddy:2.7.4-alpine
FROM caddy:alpine AS final
EXPOSE 80
WORKDIR /var/www/html
+1 -1
View File
@@ -17,7 +17,7 @@ export class HashSuffixPipe implements PipeTransform {
return '0';
}
const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s'];
const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s', ' ZH/s', ' YH/s', ' RH/s', ' QH/s'];
let power = Math.floor(Math.log10(value) / 3);
if (power < 0) {