Open jimpanzeeee opened 8 months ago
Ah I can see this has been fixed already, but maybe there hasn't been a docker image update with the same fix?
Yep - version in docker container is
/app # camouflage --version
0.12.0
Could we get a docker image update please?
Describe the bug When using file handlebar with docker camouflage a "Error: Can't set headers after they are sent" occurs instead of the file being served.
To Reproduce Steps to reproduce the behavior:
{{file path="./files/mr_man.png"}}
camouflage | Error: Can't set headers after they are sent. camouflage | at SendStream.headersAlreadySent (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:386:13) camouflage | at SendStream.send (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:613:10) camouflage | at onstat (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:725:10) camouflage | at FSReqCallback.oncomplete (node:fs:199:5)