Replies: 1 comment 4 replies
-
get "/foo" do
send_text_response("<h1>Hello</h1>", html_content_type)
end |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please check following example:
I want to add a
<h1>tag when response the html page, it is trivial to create a new component instead, and only use once, how to do that?Thanks
Beta Was this translation helpful? Give feedback.
All reactions