auth middleware

This commit is contained in:
2026-05-23 18:03:46 -05:00
parent 3bda27034a
commit 9e645fe06c
3 changed files with 24 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ import { blocksRouter } from './routes/blocks.ts';
import { imagesRouter } from './routes/images.ts';
import { authRouter } from './routes/auth.ts';
import { usersRouter } from './routes/users.ts';
import { auth } from './middleware/auth.ts';
const app = express();
app.use(express.json());