Fix stdio server resource example
This commit is contained in:
parent
4f9bc6e316
commit
d7a1e742a1
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