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:
@ -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')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user