yo-ru / gulag-web

The frontend appearance for the osu! server protocol, gulag!
MIT License
18 stars 26 forks source link

Player count in dashboard.js fix #81

Open def750 opened 3 years ago

def750 commented 3 years ago

Api request was sent to wrong address, i fixed it.

Note! There is subdomain bug which sends api request to subdomain.domain and as we know gulag web on osu subdomain is blocking api requests (I dunno why) and any other subdomain will route api request to subdomain.domain. So it needs fix, I did it by simply adding .replace('www', 'osu') but thats not the best solution as everything matching www is replaced + not everyone uses www subdomain.