oops
This commit is contained in:
@@ -11,6 +11,8 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.join(path.dirname(__filename), ".."); // going back a dir cuz code is in src/
|
||||
const app = express();
|
||||
|
||||
initDB();
|
||||
|
||||
app.use(cors());
|
||||
app.use(express.json())
|
||||
app.use(express.urlencoded({ extended: true }))
|
||||
|
||||
Reference in New Issue
Block a user