diff --git a/examples/vweb/vweb_example.v b/examples/vweb/vweb_example.v index 8292494dae..603ffd83a0 100644 --- a/examples/vweb/vweb_example.v +++ b/examples/vweb/vweb_example.v @@ -38,8 +38,6 @@ pub fn (app mut App) text() { } pub fn (app mut App) cookie() { - app.vweb.text('Headers:') app.vweb.set_cookie('cookie', 'test') - app.vweb.text(app.vweb.headers) - app.vweb.text('Text: hello world') + app.vweb.text('Headers: $app.vweb.headers') }