Skip to content

Commit

Permalink
Fix invalid api url for web
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 28, 2024
1 parent 419df7f commit 8241473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ actual open class AppContext : AppContextBase() {
actual fun getUrl() = URLBuilder(window.location.href).apply {
if (window.location.host.endsWith("discordsays.com")) {
takeFrom("https://$appId.discordsays.com/.proxy/api/")
} else {
pathSegments = emptyList()
}
}.build()
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.21.2"
version = "1.21.3"

repositories {
mavenCentral()
Expand Down

0 comments on commit 8241473

Please sign in to comment.