diff --git a/.env b/.env new file mode 100644 index 0000000..c431220 --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +DATABASE = mia +DATABASE_HOST = localhost +DATABASE_PORT = 3306 +DATABASE_USER = mia +DATABASE_PASSWORD = mia \ No newline at end of file diff --git a/app.js b/app.js index c167d07..b59b4bd 100644 --- a/app.js +++ b/app.js @@ -67,7 +67,6 @@ app.post("/auth/register", (req, res) => { }) }) - app.post("/auth/log-control", (req, res) => { const { email, password } = req.body