started edition of chat in node

+ handled cors
+ added css fo chat scroll and newline
This commit is contained in:
lenovo
2022-11-30 14:25:57 +01:00
parent b86f4aa0c7
commit 55f77d2259
14 changed files with 483 additions and 81 deletions

View File

@@ -26,7 +26,7 @@ class myServer {
constructor() {
this._gets = {};
this._posts = {};
this._putss = {};
this._puts = {};
this._deletes = {};
this._server = http.createServer((req, res) => {