fixed backend and frontend
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import env from "dotenv";
|
||||
env.config();
|
||||
const app = express();
|
||||
const port = 7001;
|
||||
const rateLimit = require("express-rate-limit");
|
||||
import rateLimit from "express-rate-limit";
|
||||
|
||||
app.use(cors());
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
|
||||
Reference in New Issue
Block a user