Update routes/example.js
Browse files- routes/example.js +2 -2
routes/example.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
const router = express.Router();
|
3 |
|
4 |
/**
|
@@ -14,4 +14,4 @@ router.get('/example', (req, res) => {
|
|
14 |
res.json({ message: 'Example endpoint' });
|
15 |
});
|
16 |
|
17 |
-
|
|
|
1 |
+
import express = from 'express';
|
2 |
const router = express.Router();
|
3 |
|
4 |
/**
|
|
|
14 |
res.json({ message: 'Example endpoint' });
|
15 |
});
|
16 |
|
17 |
+
export { router };
|