My requirement is this: I need to run GoJS, using data stored in a local JSON file. However, when running the HTML file directly, data won’t load because of it violates the browser’s “CORS same-origin” security rule.
Because of security concerns when it comes to distribution, we do not want to have a web server provide the data file, nor do we want the end user to have to tweak the browser’s security setting.
Does anyone have experience getting around this issue? Perhaps using something like Electron to run a GoJS application?
Thanks in advance!