Merge pull request #95 from andyw8/andyw8/fix-resource-example
Fix stdio server resource example
This commit is contained in:
commit
4ba1e2b7f4
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ server.resources_read_handler do |params|
|
||||||
[{
|
[{
|
||||||
uri: params[:uri],
|
uri: params[:uri],
|
||||||
mimeType: "text/plain",
|
mimeType: "text/plain",
|
||||||
text: "Hello, world!",
|
text: "Hello, world! URI: #{params[:uri]}",
|
||||||
}]
|
}]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue