Skip to content

Commit

Permalink
fix: add https to default proxy
Browse files Browse the repository at this point in the history
Closes #62
  • Loading branch information
Samarium150 committed Dec 12, 2021
1 parent 3f42ea4 commit 5fb2c23
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = "com.github.samarium150"
version = "4.2.0"
version = "4.2.1"

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import java.net.Proxy
object Main : KotlinPlugin(
JvmPluginDescription(
id = "com.github.samarium150.mirai-console-lolicon",
version = "4.2.0",
version = "4.2.1",
name = "mirai-console-lolicon"
)
) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/PluginConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object PluginConfig : AutoSavePluginConfig("Config") {
* 自定义代理
*/
@ValueDescription("获取Pixiv图片的代理")
val proxy: String by value("i.pixiv.re")
val proxy: String by value("https://i.pixiv.re")

/**
* Default recall time
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/ReplyConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ object ReplyConfig : AutoSavePluginConfig("ReplyConfig") {
* <br>
* 标签被过滤
*/
@ValueDescription("标签被过滤")
val filteredTag: String by value("该图片标签已被过滤,请换个标签再试")

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/RequestBody.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data class RequestBody(
val keyword: String? = "",
val tag: List<List<String>>? = null,
val size: List<String>? = null,
val proxy: String = "i.pixiv.re",
val proxy: String = "https://i.pixiv.re",
val dataAfter: Long? = null,
val dataBefore: Long? = null,
val dsc: Boolean? = null
Expand Down

0 comments on commit 5fb2c23

Please sign in to comment.