Skip to content

Commit

Permalink
added README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkirathe committed Sep 4, 2024
1 parent 06653a8 commit 9939aeb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions netlify/functions/swaggerConfig.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import path from 'path';
import { fileURLToPath } from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// import path from 'path';
// import { fileURLToPath } from 'url';
//
// const __filename = fileURLToPath(import.meta.url);
// const __dirname = path.dirname(__filename);

export const swaggerOptions = {
swaggerDefinition: {
Expand Down Expand Up @@ -32,6 +32,6 @@ export const swaggerOptions = {
},
],
},
apis: ['./app.js'], // Path to the API docs
apis: ['./api.js'], // Path to the API docs
// apis: ['./routes/*.js'], // Path to the API docs
};

0 comments on commit 9939aeb

Please sign in to comment.