diff --git a/Dockerfile b/Dockerfile index bcc6e9d..c0c6a37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## build runner -FROM node:20.18.0-alpine AS build-runner +FROM node:20.15.1-alpine AS build-runner # Add git and gyp deps RUN apk add git g++ make py3-pip @@ -24,7 +24,7 @@ COPY tsconfig.json . RUN pnpm run build ## producation runner -FROM node:20.18.0-alpine AS prod-runner +FROM node:20.15.1-alpine AS prod-runner # Add git and gyp deps RUN apk add git g++ make py3-pip diff --git a/src/utils.ts b/src/utils.ts index f2ae0d6..fb17635 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -208,6 +208,7 @@ export function getJSON(endpoint: string, headers: Record): P data += piece; }); res.on('end', (): void => { + console.log(data); try { resolve(JSON.parse(data)); } catch (e) {