Merge pull request #95 from andyw8/andyw8/fix-resource-example

Fix stdio server resource example
This commit is contained in:
Koichi ITO 2025-07-30 12:45:19 +09:00 • committed by GitHub
commit 4ba1e2b7f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ server.resources_read_handler do |params|
[{
uri: params[:uri],
mimeType: "text/plain",
text: "Hello, world!",
text: "Hello, world! URI: #{params[:uri]}",
}]
end