From c1c6e7df9d31fea00b17eaac5e8004011294e5c3 Mon Sep 17 00:00:00 2001 From: Andrew Charneski Date: Mon, 4 Sep 2023 08:50:22 -0400 Subject: [PATCH] 1.0.15 (#19) --- core/build.gradle.kts | 2 +- gradle.properties | 2 +- util/build.gradle.kts | 2 +- webui/build.gradle.kts | 2 +- webui/src/main/resources/simpleSession/chat.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 6b89853f..fc8500ec 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -30,7 +30,7 @@ val kotlin_version = "1.7.22" val junit_version = "5.9.2" dependencies { - implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.15") + implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.17") implementation(group = "org.slf4j", name = "slf4j-api", version = "2.0.5") diff --git a/gradle.properties b/gradle.properties index b89906ca..ee0ea0fa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # Gradle Releases -> https://github.com/gradle/gradle/releases libraryGroup = com.simiacryptus.skyenet -libraryVersion = 1.0.14 +libraryVersion = 1.0.15 gradleVersion = 7.6.1 # Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library diff --git a/util/build.gradle.kts b/util/build.gradle.kts index 7a8345c9..b21509a6 100644 --- a/util/build.gradle.kts +++ b/util/build.gradle.kts @@ -32,7 +32,7 @@ val jetty_version = "11.0.15" dependencies { - implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.15") + implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.17") implementation(project(":core")) implementation(project(":webui")) diff --git a/webui/build.gradle.kts b/webui/build.gradle.kts index 546f8e71..6af69a65 100644 --- a/webui/build.gradle.kts +++ b/webui/build.gradle.kts @@ -32,7 +32,7 @@ val jetty_version = "11.0.15" val jackson_version = "2.15.0" dependencies { - implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.15") + implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.17") implementation(project(":core")) testImplementation(project(":groovy")) diff --git a/webui/src/main/resources/simpleSession/chat.js b/webui/src/main/resources/simpleSession/chat.js index 821cb378..6e88b34e 100644 --- a/webui/src/main/resources/simpleSession/chat.js +++ b/webui/src/main/resources/simpleSession/chat.js @@ -30,7 +30,7 @@ function connect(sessionId, customReceiveFunction) { const port = window.location.port; let path = window.location.pathname; let strings = path.split('/'); - if(strings.length >= 2) { + if(strings.length >= 2 && strings[1] !== '' && strings[1] !== 'index.html') { path = '/' + strings[1] + '/'; } else { path = '/';