Add legal consent and reliable external redirects

This commit is contained in:
hz
2026-07-20 02:16:20 -05:00
parent 2615ab4773
commit dae3a31b71
25 changed files with 756 additions and 14 deletions
+7
View File
@@ -37,11 +37,18 @@ RUN mkdir -p /build \
&& cp /src/assets/fonts/Inter-Variable.ttf /build/medmind-inter.ttf \
&& cp /src/web/donation-complete.html /build/donation-complete.html \
&& cp /src/web/donation-canceled.html /build/donation-canceled.html \
&& cp /src/web/terms.html /src/web/privacy.html /src/web/legal-page.css /src/web/legal-page.js /src/web/external-redirect.html /build/ \
&& mkdir -p /build/legal \
&& cp /src/legal/legal_documents.json /build/legal/legal_documents.json \
&& test -s /build/index.html \
&& test -s /build/ranaze-loader-icon.png \
&& test -s /build/medmind-inter.ttf \
&& test -s /build/donation-complete.html \
&& test -s /build/donation-canceled.html \
&& test -s /build/terms.html \
&& test -s /build/privacy.html \
&& test -s /build/external-redirect.html \
&& test -s /build/legal/legal_documents.json \
&& test -s /build/index.wasm \
&& test -s /build/index.pck