Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
added search fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 25, 2019
1 parent 6b44696 commit 2873b9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/andromeda/araserver/util/MsSql.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MsSql {
var connection: Connection? = null
val phrases = SortWords(keyWord,phrase).getTopics(parse)
println(phrases.size)
var link = "test"
var link = ""
println(password)
connection = DriverManager.getConnection(url)
val statement = connection.createStatement()
Expand All @@ -40,6 +40,7 @@ class MsSql {
}
}
}
if (link == "") link = "https://araserver.herokuapp.com/searcht"


return URL(link.replace(" ", "") + "/" +fullDir.replace(" ", "%20")).readText()
Expand Down

0 comments on commit 2873b9d

Please sign in to comment.