repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
UIHttpServer.ts
diff --git
a/src/charging-station/ui-server/UIHttpServer.ts
b/src/charging-station/ui-server/UIHttpServer.ts
index 32b82e9c995a45c22fb8d1828c5bb16215056314..cb02d4a54101fd75b8962cee4586bc7b4622eb0d 100644
(file)
--- a/
src/charging-station/ui-server/UIHttpServer.ts
+++ b/
src/charging-station/ui-server/UIHttpServer.ts
@@
-116,9
+116,9
@@
export class UIHttpServer extends AbstractUIServer {
);
});
if (req.method === HttpMethods.POST) {
- const bodyBuffer = [];
+ const bodyBuffer
: Uint8Array[]
= [];
req
- .on('data', (chunk) => {
+ .on('data', (chunk
: Uint8Array
) => {
bodyBuffer.push(chunk);
})
.on('end', () => {