diff --git a/resources/assets/js/services/http.ts b/resources/assets/js/services/http.ts index 46c6a51d..d4a441c4 100644 --- a/resources/assets/js/services/http.ts +++ b/resources/assets/js/services/http.ts @@ -35,7 +35,7 @@ export const http = { return (await this.request('delete', url, data)).data }, - init (): void { + init () { this.client = Axios.create({ baseURL: KOEL_ENV === 'app' ? `${ls.get('koelHost')}api` : `${window.BASE_URL}api` })