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

ci: fix vweb failures (restore the ability to *force* vweb to listen to *only* local interfaces)

This commit is contained in:
Delyan Angelov
2022-02-18 10:18:04 +02:00
parent 3d46005195
commit ef5ea0ef21
2 changed files with 16 additions and 7 deletions

View File

@ -44,7 +44,7 @@ fn main() {
global_config: config
}
eprintln('>> webserver: started on http://localhost:$app.port/ , with maximum runtime of $app.timeout milliseconds.')
vweb.run_at(app, 'localhost', http_port)
vweb.run_at(app, host: 'localhost', port: http_port, family: .ip) ?
}
// pub fn (mut app App) init_server() {