From f566745479c2fac83c6cc2d2b6cc1d878d4e36b4 Mon Sep 17 00:00:00 2001 From: Kota Kanbe Date: Tue, 11 Sep 2018 09:19:24 +0900 Subject: [PATCH] fix(config): a DB URL error 'does not validate as url' #705 (#706) --- config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index b3b3f335..c79f1703 100644 --- a/config/config.go +++ b/config/config.go @@ -734,7 +734,7 @@ type GoCveDictConf struct { Type string // http://cve-dictionary.com:1323 or DB connection string - URL string `valid:"url" json:"-"` + URL string `json:"-"` // /path/to/cve.sqlite3 SQLite3Path string `json:"-"` @@ -788,7 +788,7 @@ type GovalDictConf struct { Type string // http://goval-dictionary.com:1324 or DB connection string - URL string `valid:"url" json:"-"` + URL string `json:"-"` // /path/to/oval.sqlite3 SQLite3Path string `json:"-"` @@ -841,7 +841,7 @@ type GostConf struct { Type string // http://gost-dictionary.com:1324 or DB connection string - URL string `valid:"url" json:"-"` + URL string `json:"-"` // /path/to/gost.sqlite3 SQLite3Path string `json:"-"`