low-http-server
low-http-server copied to clipboard
Request throwing TypeError caused by slice
Hey, I've been trying to utilise low-http-server with 0http and I keep getting the same issues
The runetime is a node:16-alpine docker container utilising libc6-compat for uWebSocket.js
The error thrown by request.js L36 stating that a TypeError is caused as this.slice being undefined
I'm unsure of what is causing this and have temporarily removed it from my project and the issue has resolved itself
Thanks for any insight you can provide <3
i have already solved it by instead of
return this.slice(0, size)
using
return this