fix(Offline): fixed 0.0.0.0 host #94

Merged
b merged 3 commits from offline-localhost-fix into staging 2024-05-29 14:09:52 +00:00
Showing only changes of commit f041370c62 - Show all commits

View File

@ -17,6 +17,7 @@ const App = () => {
useEffect(() => { useEffect(() => {
if (window.location.hostname === '0.0.0.0') { if (window.location.hostname === '0.0.0.0') {
// A change of the host is needed to make library available in windows object
window.location.hostname = 'localhost' window.location.hostname = 'localhost'
} }