I’ve cheked your code on a clean ExpressJS app and it works just fine.
Try move your app.use(allowCrossDomain) to the top of configure function.
I’ve cheked your code on a clean ExpressJS app and it works just fine.
Try move your app.use(allowCrossDomain) to the top of configure function.