Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit f4fa779

Browse files
committed
Merge branch 'hotfix/0.2.3'
2 parents 0e29741 + 1e9b762 commit f4fa779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.nincraft</groupId>
55
<artifactId>ModPackDownloader</artifactId>
6-
<version>0.2.2</version>
6+
<version>0.2.3</version>
77
<name>Mod Pack Downloader</name>
88
<packaging>jar</packaging>
99
<properties>

src/main/java/com/nincraft/modpackdownloader/handler/CurseFileHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private static CurseFile getCurseForgeDownloadLocation(final CurseFile curseFile
7171
} else {
7272
encodedDownloadLocation = projectName + Reference.JAR_FILE_EXT;
7373
}
74-
curseFile.setDownloadUrl(actualURL);
74+
curseFile.setDownloadUrl(actualURL.replace("http:", "https:"));
7575
}
7676
curseFile.setFileName(URLHelper.decodeSpaces(encodedDownloadLocation));
7777

0 commit comments

Comments
 (0)