mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
picoev, x.vweb: small fixes and backport changes from vweb (#20584)
This commit is contained in:
parent
2874e7cac0
commit
d88ca11a4c
18 changed files with 319 additions and 129 deletions
|
@ -50,6 +50,6 @@ fn callback(data voidptr, req picohttpparser.Request, mut res picohttpparser.Res
|
|||
|
||||
fn main() {
|
||||
println('Starting webserver on http://localhost:${port}/ ...')
|
||||
mut server := picoev.new(port: port, cb: callback)
|
||||
mut server := picoev.new(port: port, cb: callback)!
|
||||
server.serve()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue