stacksjs/stacks

Ensure /ai/ask && /ai/summarize endpoints properly proxy

chrisbbreuer opened this issue · 3 comments

Clear and concise description of the problem

Right now, the AI can only be triggered through its vanity URL.

Suggested solution

Ensure the CloudFront origin is properly proxying the request.

Alternative

No response

Additional context

No response

Validations

Same issue would be the API origin

@dorelljames just adding you here for visibility. But like I mentioned, having a minor issue here where the CloudFront proxy does not properly work with our API Gateways. We have the same issue right now for our API where the proxy to a custom domain has issues still as well

I can resolve this one now 👍