npm run format
This commit is contained in:
@ -28,9 +28,11 @@ export class Server {
|
||||
*/
|
||||
constructor() {
|
||||
this.app = express()
|
||||
this.app.use(cors({
|
||||
origin: config.CLIENT_URL
|
||||
}))
|
||||
this.app.use(
|
||||
cors({
|
||||
origin: config.CLIENT_URL
|
||||
})
|
||||
)
|
||||
this.app.use(express.json())
|
||||
this.app.use(express.urlencoded({ extended: true }))
|
||||
this.http = httpServer(this.app)
|
||||
|
Reference in New Issue
Block a user