Skip to content

Commit

Permalink
fix: correzione estensione file in import server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-amadio-acn committed Nov 29, 2024
1 parent 5e18064 commit 59263ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ dotenv.config();
import express from "express";
import bodyParser from "body-parser";
const port = process.env.PORT || 3000;
import router from "./routes/routes";
import { dbWS } from "./database/connection";
import router from "./routes/routes.js";
import { dbWS } from "./database/connection.js";

/*
** Managed by APIGateway **
Expand All @@ -18,7 +18,7 @@ users: { [process.env.BASIC_AUTH_USERNAME]: process.env.BASIC_AUTH_PASSWORD },
});
*/

import { options } from "./swagger/config";
import { options } from "./swagger/config.js";
import swaggerJSDoc from "swagger-jsdoc";
const swaggerSpec = swaggerJSDoc(options);
import swaggerUi from "swagger-ui-express";
Expand Down

0 comments on commit 59263ad

Please sign in to comment.