fix(Offline): fixed 0.0.0.0 host #94
@ -17,6 +17,7 @@ const App = () => {
|
||||
|
||||
useEffect(() => {
|
||||
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'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user