From c86a9d4a8290c131ea966e43bb0a0f91510cb6e4 Mon Sep 17 00:00:00 2001 From: Yuri Teplyakov Date: Tue, 20 Jun 2023 13:15:52 +0200 Subject: [PATCH] fix: revert url fix --- package.json | 2 +- src/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 60ae877a..e513cd22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kotlin-playground", - "version": "1.28.0-alpha.3", + "version": "1.28.0-alpha.4", "description": "Self-contained component to embed in websites for running Kotlin code", "keywords": [ "kotlin", diff --git a/src/config.js b/src/config.js index 31ef0d93..d7866a11 100644 --- a/src/config.js +++ b/src/config.js @@ -29,7 +29,7 @@ export const API_URLS = { url = `${this.server}/api/${version}/compiler/translate?ir=true`; break; case TargetPlatform.WASM: - url = `${this.server}api/${version}/compiler/translate?ir=true&compiler=wasm`; + url = `${this.server}/api/${version}/compiler/translate?ir=true&compiler=wasm`; break; case TargetPlatform.JUNIT: url = `${this.server}/api/${version}/compiler/test`;