When i open the project on Local Host its blank
Closed this issue · 1 comments
matiusman356 commented
Lothrik commented
It shows blank screen when I open on local host.
You need to either run a web server and open the configured port (ex: localhost:8000
):
cd ./diablo4-build-calc/
python -m http.server 8000
.. or open index.html
in a browser with CORS disabled:
"[PATH_TO_CHROME]\chrome.exe" --disable-web-security --user-data-dir=%LOCALAPPDATA%\Google\chromeTemp
As opening index.html
directly in a standard browser (as you've done in your screenshot) will result in numerous CORS errors:
Access to script at 'file:///[...].js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
i see you typed its private in description but on top it says its public.
I have no idea what you're referring to, here.