mirror of https://github.com/statping/statping
vue
parent
7f862ff2b9
commit
dd895e1876
|
@ -181,10 +181,6 @@ func (c *Core) Connect(retry bool, location string) error {
|
|||
}
|
||||
var conn, dbType string
|
||||
var err error
|
||||
dbType = CoreApp.Config.DbConn
|
||||
if CoreApp.Config.DbPort == 0 {
|
||||
CoreApp.Config.DbPort = defaultPort(dbType)
|
||||
}
|
||||
switch dbType {
|
||||
case "sqlite":
|
||||
sqlFilename := findDbFile()
|
||||
|
|
Loading…
Reference in New Issue