diff --git a/src/js/inscodeai.js b/src/js/inscodeai.js index 6591c5c47e784d62ec1bfa9bcbde7d7b54f8ab93..a6cd027552e5bc577c5ea7acf9507c21266d7896 100644 --- a/src/js/inscodeai.js +++ b/src/js/inscodeai.js @@ -24,8 +24,8 @@ class InsCodeAI { debugger const token = res?.data??'' if (token) { - apiKey = token - console.info('get token from env ' + apiKey) + apiKey = token.trim() + console.info('get token from env [' + apiKey + ']') }