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

vweb: fix index (#5682)

This commit is contained in:
Louis Schmieder
2020-07-05 22:05:58 +02:00
committed by GitHub
parent d0e321c8a3
commit 3cd9e2cab7
2 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pub fn (mut app App) init_once() {
pub fn (mut app App) init() {}
fn (mut app App) index() {
pub fn (mut app App) index() {
// We can dynamically specify which assets are to be used in template.
mut am := assets.new_manager()
am.add_css('assets/index.css')