Context
Endpoint configuration is inconsistent and not yet pointed at real infrastructure, so nothing actually connects end-to-end. Three different domains appear across the codebase:
- Extension →
https://streaming.nat.example.com, https://nat.example.com/... (placeholders), [email protected]
- Site →
https://api.natassistant.com/stripe/checkout and /stripe/verify-session (hardcoded fallback)
- Privacy/terms links →
asknat.ai
Also: Lambda env-var defaults don't match the template (e.g. handler default nat/anthropic-api-key vs template nat/anthropic-api-key-${Environment}), risking a prod Lambda reading a dev/wrong secret; and API Gateway has no custom domain (custom-domain param is commented out in infrastructure/template.yaml).
Acceptance Criteria
Context
Endpoint configuration is inconsistent and not yet pointed at real infrastructure, so nothing actually connects end-to-end. Three different domains appear across the codebase:
https://streaming.nat.example.com,https://nat.example.com/...(placeholders),[email protected]https://api.natassistant.com/stripe/checkoutand/stripe/verify-session(hardcoded fallback)asknat.aiAlso: Lambda env-var defaults don't match the template (e.g. handler default
nat/anthropic-api-keyvs templatenat/anthropic-api-key-${Environment}), risking a prod Lambda reading a dev/wrong secret; and API Gateway has no custom domain (custom-domain param is commented out ininfrastructure/template.yaml).Acceptance Criteria
example.complaceholders with real, build-time-injected URLs (VITE_CHECKOUT_API_URL,VITE_VERIFY_API_URL, extension streaming/auth URLs)