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

Switch Turbo Streams to text/vnd.turbo-stream.html #93

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

sstephenson
Copy link
Contributor

Using the text/ prefix allows browsers' web inspectors to display the payload as text instead of displaying a message saying it's unpresentable.

Closes #24, #91

/cc @dhh

@sstephenson sstephenson merged commit 4a6c9a5 into main Jan 11, 2021
@sstephenson sstephenson deleted the turbo-stream-mime-type branch January 11, 2021 03:21
en30 added a commit to en30/hotwire-phoenix-demo-chat that referenced this pull request Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Turbo Stream: use a proper media type instead of an attribute
1 participant