Skip to content

Commit

Permalink
Merge pull request terrakok#6 from aydarin/fix-gradle-wrapper-not-found
Browse files Browse the repository at this point in the history
Fix path to bundled resource: gradle-wrapper
  • Loading branch information
terrakok authored Oct 13, 2021
2 parents fabcd91 + 6110a40 commit eb28edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsMain/kotlin/org/jetbrains/webwiz/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun main() {
}

private fun generateProject(project: ProjectInfo) {
window.fetch(window.location.origin + window.location.pathname + "/binaries/gradle-wrapper")
window.fetch("./binaries/gradle-wrapper")
.then { response -> response.arrayBuffer() }
.then { gradleWrapperBlob ->
val zip = JSZip()
Expand Down

0 comments on commit eb28edd

Please sign in to comment.