From b7b1c2e2e31501d3cca8b91e7f0769ce69873292 Mon Sep 17 00:00:00 2001 From: whi <1090562996@qq.com> Date: Fri, 11 Jul 2025 14:38:23 +0800 Subject: [PATCH] veb: fix `app.text()` -> `ctx.text()` in `README.md` --- vlib/veb/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/veb/README.md b/vlib/veb/README.md index baffba51ca..d4743cbbb4 100644 --- a/vlib/veb/README.md +++ b/vlib/veb/README.md @@ -233,7 +233,7 @@ by adding a host to the "hosts" file of your device. ```v ignore @['/'; host: 'example.com'] pub fn (app &App) hello_web(mut ctx Context) veb.Result { - return app.text('Hello World') + return ctx.text('Hello WEB') } @['/'; host: 'api.example.org']