randydev commited on
Commit
c57f926
·
verified ·
1 Parent(s): 6049f8c

Update middleware/midware.js

Browse files
Files changed (1) hide show
  1. middleware/midware.js +1 -1
middleware/midware.js CHANGED
@@ -1,7 +1,7 @@
1
  import { Database } from '../database/database.js';
2
  import { rateLimit } from 'express-rate-limit';
3
  import { MongoStore } from "rate-limit-mongo";
4
- import { dbUri } from '/..config.js';
5
 
6
  const authenticateApiKey = async (req, res, next) => {
7
  const apiKey = req.headers['x-api-key'];
 
1
  import { Database } from '../database/database.js';
2
  import { rateLimit } from 'express-rate-limit';
3
  import { MongoStore } from "rate-limit-mongo";
4
+ import { dbUri } from '../config.js';
5
 
6
  const authenticateApiKey = async (req, res, next) => {
7
  const apiKey = req.headers['x-api-key'];