From f49e8d4ba5f17582604de1304606c168d8d7f2e3 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 6 Apr 2022 19:30:27 +0300 Subject: [PATCH] jsmod path --- main.v | 1 + 1 file changed, 1 insertion(+) diff --git a/main.v b/main.v index 1bb6817..bf14c4e 100644 --- a/main.v +++ b/main.v @@ -130,6 +130,7 @@ pub fn (mut app App) mod(name string) vweb.Result { return $vweb.html() } +['/jsmod/:name'] pub fn (mut app App) jsmod() { name := app.req.url.replace('jsmod/', '')[1..] println('MOD name=$name')