Skip to content

Commit b7b1c2e

Browse files
authored
veb: fix app.text() -> ctx.text() in README.md
1 parent 55b1236 commit b7b1c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/veb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ by adding a host to the "hosts" file of your device.
233233
```v ignore
234234
@['/'; host: 'example.com']
235235
pub fn (app &App) hello_web(mut ctx Context) veb.Result {
236-
return app.text('Hello World')
236+
return ctx.text('Hello WEB')
237237
}
238238
239239
@['/'; host: 'api.example.org']

0 commit comments

Comments
 (0)