srepetsk / metrohero-server

The server used to power the MetroHero project, a (now defunct) app for WMATA Metrorail commuters and transit nerds in and around the DC area.
GNU General Public License v3.0
3 stars 3 forks source link

Metrics page not showing data #12

Closed srepetsk closed 1 year ago

srepetsk commented 1 year ago

Metrics page is saying that there is no data, even though there certainly is:

image
srepetsk commented 1 year ago

This was a CORS issue; DashboardController (also TrainController) were configured to accept only connections from http://localhost:3000. The hostname and port have been abstracted out to application.properties.