Skip to content

Commit 2452880

Browse files
authored
fix: reverting previous change
Signed-off-by: Aaron Rackley <aaron.rackley9@gmail.com>
1 parent b03fc01 commit 2452880

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const morgan = require('morgan');
88
const cors = require('cors');
99
const fs = require('fs');
1010
const app = express();
11-
app.use(cors()); // enabling CORS for all requests
1211

1312
const constantPath = './src/modules/';
1413
const routes = {};
@@ -46,4 +45,6 @@ app.get('/full-status', (req, res) => {
4645
res.status(200).send(data);
4746
});
4847

48+
app.use(cors()); // enabling CORS for all requests
49+
4950
export default app;

0 commit comments

Comments
 (0)