feat: add Child Safety Standards page for Google Play compliance
New public page at /kinderschutz — required by Google Play's Child Safety Standards policy for apps with user-generated content/social features (https://support.google.com/googleplay/android-developer/answer/14747720). Registered as public + maintenance-exempt in proxy.ts, matching the existing /impressum, /datenschutz, /nutzungsbedingungen pattern. Content covers only mechanisms that actually exist in this codebase: in-app reporting (ReportSheet + admin moderation review), a named responsible contact (same identity as /impressum), and the German/EU legal framework (StGB §184b/c, DSA, JuSchG) for law-enforcement cooperation on confirmed CSAE content — no invented automated- detection claims. Cross-linked from the other legal pages' footers, the web /pets footer, and the mobile app's My Pets legal-links section (new pets.legalChildSafety i18n key, DE/EN).
This commit is contained in:
1 parent
554b7cacdc
commit
4758ce8d87
9 files changed
+166
-1
No files matched your search
+2
-1
@@ -3,7 +3,7 @@ import { NextResponse } from "next/server";
|
||||
import { timingSafeStringEqual } from "@/lib/timing-safe-compare";
|
||||
import { isMaintenanceModeEnabled } from "@/lib/maintenance";
|
||||
|
||||
const MAINTENANCE_EXEMPT_PATHS = new Set(["/impressum", "/datenschutz", "/nutzungsbedingungen", "/ueber-uns"]);
|
||||
const MAINTENANCE_EXEMPT_PATHS = new Set(["/impressum", "/datenschutz", "/nutzungsbedingungen", "/ueber-uns", "/kinderschutz"]);
|
||||
|
||||
const MAINTENANCE_HTML = `<!doctype html>
|
||||
<html lang="de"><head><meta charset="utf-8" />
|
||||
@@ -26,6 +26,7 @@ const isPublicRoute = createRouteMatcher([
|
||||
"/datenschutz",
|
||||
"/nutzungsbedingungen",
|
||||
"/ueber-uns",
|
||||
"/kinderschutz",
|
||||
"/join(.*)",
|
||||
"/api/webhooks/(.*)",
|
||||
"/api/auth/(.*)",
|
||||
|
||||
Reference in new issue
Block a user