Getting cors error while hosting on colyseus arena (solved)

Hey all, hope you are having a great day.
I have recently tried hosting my Colyseus server on Colyseus arena, but unfortunately getting constant CORS error. Previously I was able to successfully host the same server on Heroku with the same CORS configurations.
This is the error I am getting :
This is the my arena.config.js :
Any help is appreciated.

Hi @adistar, welcome! I wonder if you still have the same issue if removing app.use(cors())? The server does use CORS by default.

Hi @endel, thanks for a quick reply. Yes, its working after I removed the CORS configuration and carefully followed the deployment logs.
Thanks again.