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

http: fix response headers and status code; clean up ft and gg

This commit is contained in:
Alexander Medvednikov
2019-08-05 10:42:58 +02:00
parent ff730b4eb0
commit 7a7b5040e2
11 changed files with 131 additions and 96 deletions

View File

@ -12,7 +12,6 @@ pub mut:
}
fn main() {
println('Running vweb test on http://localhost:$Port')
vweb.run<App>(Port)
}
@ -27,3 +26,4 @@ pub fn (app mut App) json_endpoint() {
pub fn (app mut App) index() {
app.vweb.text('hello world')
}