Skip to content

Commit 010aacb

Browse files
committed
SPP_DISABLE_JWT/SPP_DISABLE_TLS
1 parent 9b23051 commit 010aacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/spp/cli/PlatformCLI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ object PlatformCLI : CliktCommand(name = "spp-cli", allowMultipleSubcommands = t
5656
val verbose by option("-v", "--verbose", help = "Enable verbose mode").flag()
5757
val platformHost: String by option("-p", "--platform", help = "Source++ platform host")
5858
.default(
59-
(if (System.getenv("SPP_DISABLE_TLS") != "true") "https://" else "http://")
59+
(if (System.getenv("SPP_HTTP_SSL_ENABLED") != "false") "https://" else "http://")
6060
+ (System.getenv("SPP_PLATFORM_HOST") ?: "localhost") + ":12800"
6161
)
6262
private val platformCertificate by option("-c", "--certificate", help = "Source++ platform certificate").file()

0 commit comments

Comments
 (0)