diff --git a/frontend/src/app/privacy/page.tsx b/frontend/src/app/privacy/page.tsx new file mode 100644 index 0000000..646729f --- /dev/null +++ b/frontend/src/app/privacy/page.tsx @@ -0,0 +1,26 @@ +export default function PrivacyPage() { + return ( +
+

Privacy Policy

+

Last updated: August 14, 2026

+
+

+ dylive.nomadro.com ("we", "our") operates a live monitoring and video publishing tool for + authorized operators only. +

+

+ When you connect your TikTok account, we store OAuth tokens solely to upload videos you explicitly schedule or + approve. We do not sell personal data. +

+

+ Data we may process: TikTok account identifiers, display name, OAuth access and refresh tokens, and uploaded + video metadata required to complete publishing. +

+

+ You may revoke access at any time in TikTok account settings or by removing the connected account in our app. +

+

For questions, contact the site administrator.

+
+
+ ); +} diff --git a/frontend/src/app/terms/page.tsx b/frontend/src/app/terms/page.tsx new file mode 100644 index 0000000..90ed2f1 --- /dev/null +++ b/frontend/src/app/terms/page.tsx @@ -0,0 +1,23 @@ +export default function TermsPage() { + return ( +
+

Terms of Service

+

Last updated: August 14, 2026

+
+

+ By using dylive.nomadro.com, you agree to use this service only for lawful content publishing and monitoring + that complies with TikTok's platform policies. +

+

+ You are responsible for the videos uploaded through your connected TikTok account, including rights to use the + underlying content. +

+

+ We provide the service as-is and may suspend access for abuse, policy violations, or security issues. +

+

You must keep your account credentials secure and notify us of unauthorized use.

+

For questions, contact the site administrator.

+
+
+ ); +} diff --git a/frontend/src/middleware.ts b/frontend/src/middleware.ts index ddde8c7..0c54b81 100644 --- a/frontend/src/middleware.ts +++ b/frontend/src/middleware.ts @@ -1,7 +1,7 @@ import { NextResponse } from "next/server"; import type { NextRequest } from "next/server"; -const PUBLIC = ["/login"]; +const PUBLIC = ["/login", "/privacy", "/terms"]; export function middleware(request: NextRequest) { const { pathname } = request.nextUrl;