diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 73112fd7c3..ba176c5835 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -480,7 +480,7 @@ fn handle_conn(mut conn net.TcpConn, mut app T) { } else if matching && unknown { // router words with paramter like `/:test/site` action = method.name - vars = variables + vars = variables.clone() } req_method = []string{} }