vweb: fix an example
parent
36183660e6
commit
1505f3e22c
|
@ -42,6 +42,6 @@ pub fn (mut app App) text() vweb.Result {
|
|||
}
|
||||
|
||||
pub fn (mut app App) cookie() vweb.Result {
|
||||
app.vweb.set_cookie('cookie', 'test')
|
||||
app.vweb.set_cookie(name:'cookie', value:'test')
|
||||
return app.vweb.text('Headers: $app.vweb.headers')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue