Skip to content

Commit

Permalink
Update app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Apr 11, 2024
1 parent 768f7d6 commit f28b06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import express, { Express } from 'express'
import express from 'express'
import compression from 'compression'
import helmet from 'helmet'
import nocache from 'nocache'
Expand All @@ -15,7 +15,7 @@ import propertyRoutes from './routes/propertyRoutes'
import userRoutes from './routes/userRoutes'
import * as helper from './common/helper'

const app: Express = express()
const app = express()

app.use(helmet.contentSecurityPolicy())
app.use(helmet.dnsPrefetchControl())
Expand Down

0 comments on commit f28b06f

Please sign in to comment.