Added a sample video and edited .gitignore

Added videos/shrek.mp4
Removed comments and prints in src/index.js
Modified .gitignore
This commit is contained in:
ShakedAp
2023-06-26 19:21:18 +03:00
parent 7d5bac659c
commit 5b96d6d8ab
4 changed files with 3 additions and 7 deletions

View File

@@ -1,6 +1,3 @@
// https://www.npmjs.com/package/ws#api-docs
// https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
const fs = require("fs");
const express = require('express');
const bodyParser = require('body-parser');
@@ -91,7 +88,6 @@ app.get("/", function (req, res) {
app.post("/login", function (req, res)
{
const data = req.body;
console.log(data);
if(!data)
res.sendStatus(400);