fix: removed useless imports
This commit is contained in:
parent
eb57838241
commit
b24f62fdc0
4 changed files with 6 additions and 18 deletions
7
index.js
7
index.js
|
@ -1,12 +1,11 @@
|
|||
const express = require("express");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const config = require("./config");
|
||||
const fs = require("node:fs");
|
||||
const path = require("node:path");
|
||||
const cookieParser = require("cookie-parser");
|
||||
const cors = require("cors");
|
||||
|
||||
const app = express();
|
||||
const port = config.port || 3000;
|
||||
const port = 3000;
|
||||
|
||||
app.use(express.json());
|
||||
app.use(cookieParser());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue