Please take a look at this screenshot. I’ve modified the codebase to solve this problem before, since then I have had no problems.
However, the strange thing just happened today, out of nowhere… My colleague got this issue this morning and they are based outside of the US, but the people who are in the US are not getting this error at all.
This is how I load the rhino3dm in the html, again I had no problems with this code before until today. Please help… completely out of hands:
<script>
window.addEventListener('DOMContentLoaded', () => {
// Wait for the DOM to be fully loaded
const scripts = [
'https://files.mcneel.com/rhino3dm/js/latest/rhino3dm.js',
];
let script = document.createElement('script');
script.src = scripts[0];
document.head.appendChild(script);
script.onerror = (err) => {
console.log(err);
};
script.onload = () => {
window.Rhino3dm = window.rhino3dm();
console.log('Rhino3dm loaded:', window.Rhino3dm);
};
});
</script>