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

autofree: handle SelectorExpr and fix json

This commit is contained in:
Alexander Medvednikov
2020-11-02 00:57:40 +01:00
parent f0c98fb5c2
commit a0bf796926
3 changed files with 16 additions and 4 deletions

View File

@@ -350,7 +350,9 @@ fn handle_conn<T>(conn net.Socket, mut app T) {
//t := time.ticks()
//mut action := ''
mut route_words_a := [][]string{}
mut url_words := vals[1][1..].split('/').filter(it != '')
//mut url_words := vals[1][1..].split('/').filter(it != '')
x := vals[1][1..].split('/')
mut url_words := x.filter(it != '')
if url_words.len == 0 {