odota / web

React web interface for the OpenDota platform
https://www.opendota.com
MIT License
1.09k stars 391 forks source link

/matches/:id/laning unhandled error in production builds #3122

Closed prenaissance closed 10 months ago

prenaissance commented 10 months ago

Current Behavior The specified page crashes on production build. The error doesn't seem to slip through on local development. Example: https://www.opendota.com/matches/7440809518/laning

Console Output Please provide your browsers console log if possible. Most browsers will open the console via F12.

Possible Cause Vite upgrade api host variable

Uncaught (in promise) undefined

Environment

howardchung commented 10 months ago

Seems to be the same problem with heatmap.js. . . I'll take a look