npm run format

This commit is contained in:
2024-11-05 23:16:18 +01:00
parent c4a42066ab
commit 709d34d59b
6 changed files with 19 additions and 21 deletions

View File

@ -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)