fix scores.json cross origin request
Anupam-dagar opened this issue · 8 comments
Anupam-dagar commented
since we are now using a http domain, cross origin request to json files can't be sent, on opening leaderboard, no scores are shown, to reproduce the error just see console in developer tools.
Jigar3 commented
I would like to take this issue
aswanthkoleri commented
@Jigar3 You are assigned
Jigar3 commented
Any hints as how I could rectify this
Jigar3 commented
In scores.json, the scores property is repeated twice causing the problem i guess
Anupam-dagar commented
Since the new domain uses a http protocol instead of https,we can't request
a file directly.
…On Jan 26, 2018 15:38, "Jigar Chavada" ***@***.***> wrote:
In scores.json, the scores property is repeated twice causing the problem
i guess
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#433 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUMZLBDGsQQoU0LOHsaPbgmC6KwdBJZEks5tOaQ2gaJpZM4RtW9f>
.
Jigar3 commented
https://jigar3.github.io/OpenCode-Collaborative/leaderboard
is this correct?
Jigar3 commented
@gauthamzz please can you have a look
gauthamzz commented
yeah,send pr