Failed to load file
xuxiyang1993 opened this issue · 1 comments
xuxiyang1993 commented
For the problem waterworld, when I click the button 'Load a Pretrained Agent', it prompts
Failed to load file:///C:/Users/xuxiyang/Desktop/reinforcejs-master/agentzoo/wateragent.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
jquery-2.1.3.min.js:4
Anyone knows how to resolve this and load the saved data?
alperenkirimer commented
@xuxiyang1993 Try using XMLHttpRequest to load a local json file