ci: fix `v build-examples`

pull/10081/head
Delyan Angelov 2021-05-11 11:10:35 +03:00
parent 6f2c18f1c7
commit c55549a16a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ struct App {
} }
fn main() { fn main() {
vweb.run<App>(port) vweb.run(&App{}, port)
} }
pub fn (mut app App) index() vweb.Result { pub fn (mut app App) index() vweb.Result {

View File

@ -11,7 +11,7 @@ struct App {
} }
fn main() { fn main() {
vweb.run<App>(8081) vweb.run(&App{}, 8081)
} }
pub fn (mut app App) init_server() { pub fn (mut app App) init_server() {

View File

@ -13,7 +13,7 @@ struct App {
} }
fn main() { fn main() {
vweb.run<App>(port) vweb.run(&App{}, port)
} }
pub fn (mut app App) init_server() { pub fn (mut app App) init_server() {