We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc694a commit 23a7e86Copy full SHA for 23a7e86
src/app.ts
@@ -3,7 +3,7 @@ import cors from 'cors';
3
import helmet from 'helmet';
4
import path from 'node:path';
5
import express from 'express';
6
-import { router } from './views/router';
+import { router } from './router';
7
import compression from 'compression';
8
import expressLayouts from 'express-ejs-layouts';
9
import { errorMiddleware, notFoundMiddleware } from './middleware';
src/views/handler.ts renamed to src/handler.ts
src/views/router.ts renamed to src/router.ts
@@ -11,7 +11,7 @@ import {
11
12
13
14
-import { catchAsyncErrorMiddleware } from '../middleware';
+import { catchAsyncErrorMiddleware } from './middleware';
15
16
const router = express.Router();
17
0 commit comments