1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: small fixes

This commit is contained in:
Alexander Medvednikov 2019-07-30 18:27:46 +02:00
parent 9bcb5aaa55
commit 3e458a8801

View File

@ -8,11 +8,11 @@ import (
)
struct Context {
static_files map[string]string
pub:
req http.Request
conn net.Socket
post_form map[string]string
static_files map[string]string
// TODO Response
headers []string // response headers
}
@ -101,7 +101,6 @@ pub fn run<T>(port int) {
static_files: map[string]string{}
}
}
println('calling init')
app.init()
if req.method == 'POST' {
app.vweb.parse_form(s)