Skip to content

Commit

Permalink
fixing husky issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadowacu1 committed May 19, 2024
1 parent cfbac08 commit 596413b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run lint

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.use(express.json());
app.use(morgan(process.env.NODE_ENV));
app.use(compression());
app.use(cors());
app.usei-docs", SwaggerUi.serve, SwaggerUi.setup(Document));
app.use("/api-docs", SwaggerUi.serve, SwaggerUi.setup(Document));

app.get("/", (req: Request, res: Response) => {
console.log("Index using PORT: ", PORT);
Expand Down

0 comments on commit 596413b

Please sign in to comment.