Hi to everybody,
I have a big problem with NR; I am developing an application where I am using, for insert the image in the dashboard, the BASE64 algorithm (I do the decode from BASE64 in image in NR); I want use this solutione because allow me to don't creade folder in the node-red directory full of image.
The problem is...that I don't have enough space anymore for insert the BASE 64 code in the function block..I attach you an image for better explain:
Error:
PayloadTooLargeError: request entity too large
at readStream (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\raw-body\index.js:155:17)
at getRawBody (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\raw-body\index.js:108:12)
at read (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\body-parser\lib\read.js:77:3)
at jsonParser (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\body-parser\lib\types\json.js:135:5)
at Layer.handle [as handle_request] (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:317:13)
at C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\router\index.js:275:10)
at cors (C:\Users\carmi\AppData\Roaming\npm\node_modules\node-red\node_modules\cors\lib\index.js:188:7)
This is an example of BASE64 of image that I use :
Block BASE64.txt (152.4 KB)
Please, if you have a solution for enlarge the space in the function block from maybe a setting.js file of node red let me know.......I don't want to delete all my work..
Thanks in advance