Skip to content

fix: update deployment URLs to captar.aurat.ai and fix client-side auth import#111

Merged
8dazo merged 1 commit intomainfrom
fix/110-update-urls-and-auth-import
May 2, 2026
Merged

fix: update deployment URLs to captar.aurat.ai and fix client-side auth import#111
8dazo merged 1 commit intomainfrom
fix/110-update-urls-and-auth-import

Conversation

@8dazo
Copy link
Copy Markdown
Owner

@8dazo 8dazo commented May 2, 2026

Closes #110

Summary

Update all hardcoded deployment URLs from old domains to new live domains:

  • Marketing site: https://captar.aurat.ai
  • Platform app: https://platform.captar.aurat.ai

Fixes a client-side runtime error where login-form.tsx imported signIn from the server auth.ts file, causing headers was called outside a request scope.

Changes

URL Updates

  • README.md — support links, footer
  • docs/infra/deployment.md — architecture diagram, env examples, DNS records, curl commands, domain setup
  • apps/marketing/content/authors/jane-doe.mdx — avatar URL
  • apps/marketing/content/authors/jon-doe.mdx — avatar URL
  • packages/schemas/jsonschema/policy.schema.json$id URL
  • packages/schemas/jsonschema/event-envelope.schema.json$id URL

Bug Fix

  • apps/platform/app/login/login-form.tsx — changed signIn import from ../../auth (server) to next-auth/react (client). Resolves the Next.js dynamic API wrong-context error when submitting the login form.

Deployment Notes

After merge, ensure Vercel environment variables are updated:

  • NEXT_PUBLIC_MARKETING_URL=https://captar.aurat.ai
  • NEXT_PUBLIC_PLATFORM_URL=https://platform.captar.aurat.ai
  • AUTH_URL=https://platform.captar.aurat.ai
  • CAPTAR_PLATFORM_URL=https://platform.captar.aurat.ai

- Replace all captar.ai / api.captar.ai / captar.dev references
  with captar.aurat.ai / platform.captar.aurat.ai
- Fix login-form.tsx signIn import from server auth.ts to next-auth/react
  to resolve 'headers called outside request scope' error

Closes #110
@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
captor-marketing Ready Ready Preview, Comment May 2, 2026 3:58am
captor-platform Ready Ready Preview, Comment May 2, 2026 3:58am

@8dazo 8dazo merged commit 06eb572 into main May 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: update deployment URLs to captar.aurat.ai and fix client-side auth import

1 participant