Skip to content

Commit d683836

Browse files
ilgonmicdkrasnoff
authored andcommitted
One request for resources
1 parent ca5c5a9 commit d683836

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/kotlin/com/compiler/server/controllers/ResourceRestController.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ class ResourceRestController(
1717
@Value("\${dependencies.compose.wasm}") private val dependenciesComposeWasm: String,
1818
) {
1919

20+
@Suppress("unused")
21+
@GetMapping("/compose-wasm-versions")
22+
fun getVersions(): Map<String, String> {
23+
return mapOf(
24+
"skiko" to skikoVersion,
25+
"stdlib" to dependenciesComposeWasm
26+
)
27+
}
28+
2029
@Suppress("unused")
2130
@GetMapping("/skiko")
2231
fun getVersionedSkikoMjs(): String {

0 commit comments

Comments
 (0)