mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
by default open the https url for a given host, not the http url
(http does almost not exist any more)
This commit is contained in:
parent
71a6074cc5
commit
70454654f3
|
@ -156,7 +156,7 @@ public class IndexBrowser_p {
|
|||
!path.startsWith("https://") &&
|
||||
!path.startsWith("ftp://") &&
|
||||
!path.startsWith("smb://") &&
|
||||
!path.startsWith("file://"))) { path = "http://" + path; }
|
||||
!path.startsWith("file://"))) { path = "https://" + path; }
|
||||
prop.putHTML("path", path);
|
||||
prop.put("delete", path.length() > 0 ? 1 : 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user