Open weaklysubjective opened 1 year ago
oops hit submit too soon : As i was saying , i had no trouble following the instructions i.e. : # Setup emscripten path. source $PATH_TO_EMSDK/emsdk_env.sh
make js
loadPath: 'https://stellarium.sfo2.cdn.digitaloceanspaces.com/' +
'i18n/v1/{{ns}}/{{lng}}.json'
}
Any clues how to solve this ? Thanks
I found issues #35 and #85 relating to CORS. You suggested use of localhost:8080, and I made sure to run the server using localhost and port 8080. The CORS errors is gone (reading from console), but access is forbidden (403) for this part of the html ---> // Setup i18next for translations. i18next.use(i18nextXHRBackend).init({ lng: 'en', ns: ['gui', 'skyculture'], debug: false, backend: { loadPath: 'https://stellarium.sfo2.cdn.digitaloceanspaces.com/' + 'i18n/v1/{{ns}}/{{lng}}.json' } }); . Any suggestions ?
Hi,
Thank you for the wonderful software. Been testing the webengine and had no trouble following the instructions :