diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index 46aa478123..60e36b6876 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -81,7 +81,11 @@ Run it with v run blog.v ``` -and open http://localhost:8080/ in your browser: +``` +Running a Vweb app on http://localhost:8080 ... +``` + +Vweb helpfully provided a link, open http://localhost:8080/ in your browser: diff --git a/tutorials/index.html b/tutorials/code/blog/index.html similarity index 100% rename from tutorials/index.html rename to tutorials/code/blog/index.html diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 80b0750808..fd373d837b 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -124,7 +124,7 @@ fn (ctx &Context) get_header(key string) string { //pub fn run(port int) { pub fn run(app mut T, port int) { - println('Running vweb app on http://localhost:$port ...') + println('Running a Vweb app on http://localhost:$port ...') l := net.listen(port) or { panic('failed to listen') } //mut app := T{} app.init()