Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PreviewShape Iframe use post request #1

Closed
SawyerHood opened this issue May 29, 2024 · 0 comments
Closed

Make PreviewShape Iframe use post request #1

SawyerHood opened this issue May 29, 2024 · 0 comments

Comments

@SawyerHood
Copy link
Owner

Right now we set the src of the iframe to generate the site. I want to be able to not have to url encode all of the other html pages that I send up for the prompt. It would be better if when the form is submit we send a post request and make the target of the output the iframe.

This involves:

  • Changing PreviewShape.tsx
  • Updating api/html/route.ts to be a POST route
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

No branches or pull requests

1 participant