Skip to content

Conversation

@boringcactus
Copy link
Member

Summary

Ticket: none

Requested by the dotcom team for their exploration of the JS export.

@boringcactus boringcactus added the deploy to dev-orange Automatically deploy this PR to dev-orange label Sep 25, 2025
plug Plug.Head
plug Plug.Session, @session_options

plug CORSPlug, origin: ["http://localhost:4001"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boringcactus maybe you should put it in the :api pipeline in the router? For whatever reason it isn't working for me 😬

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting it here is recommended by the docs, since if we put it in the router we have to also declare OPTIONS handlers in addition to our GET handlers.

@boringcactus boringcactus removed the deploy to dev-orange Automatically deploy this PR to dev-orange label Oct 21, 2025
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.

3 participants