1 commit a6bf0fe8d243bb7637410985dac6dfee42f56ff7
2 Author: T.J. Townsend <blakkheim@archlinux.org>
3 Date: Sun Oct 9 22:51:53 2022 -0400
5 Fetch modules over HTTPS instead of FTP by default.
7 diff --git a/src/backend/module_manager.cc b/src/backend/module_manager.cc
8 index 1b53a601..b0b3b0e0 100644
9 --- a/src/backend/module_manager.cc
10 +++ b/src/backend/module_manager.cc
11 @@ -554,13 +554,13 @@ void backend_init_module_mgr_config(void)
13 SWConfig config(confPath.c_str());
15 - InstallSource is("FTP");
16 + InstallSource is("HTTPS");
17 is.caption = "CrossWire";
18 - is.source = "ftp.crosswire.org";
19 - is.directory = "/pub/sword/raw";
20 + is.source = "www.crosswire.org";
21 + is.directory = "/ftpmirror/pub/sword/raw";
23 config["General"]["PassiveFTP"] = "true";
24 - config["Sources"]["FTPSource"] = is.getConfEnt();
25 + config["Sources"]["HTTPSSource"] = is.getConfEnt();
28 InstallSource is_local("DIR");