bndw / wifi-card

📶 Print a QR code for connecting to your WiFi (wificard.io)
https://wificard.io
MIT License
6.58k stars 460 forks source link

Local Docker: Empty page in Safari Browser #214

Closed mada199122 closed 2 years ago

mada199122 commented 2 years ago

Run-in the docker container with Firefox browser the webpage is loaded correctly. Using Safari browser the page loaded is empty.

I've attached a log. Thanks

_wifi-card_logs.txt

Baoyuantop commented 2 years ago

Maybe you can check the console of Safari.

mada199122 commented 2 years ago

Screenshot 2021-09-09 at 08 22 31

here the screenshot of the console...

bndw commented 2 years ago

In leu of a fix, I'd recommend using Firefox or Chrome

olekstomek commented 2 years ago

I read that Safari is new Internet Explorer. 😜

TheDancingCode commented 2 years ago

I do experience the same problem on Firefox.

bndw commented 2 years ago

@TheDancingCode Can you provide repro? I have no issue with Firefox, both under local Docker or yarn/npm.

local docker: image

local yarn/npm image

bndw commented 2 years ago

@mada199122 what version of Safari are you using? How are you running wificard?

mada199122 commented 2 years ago

Sorry for the delay

Safari 14.1.2 on Mac

I've just tried on iPad and iPhone and there it works Both of the with the latest iOs Os

mada199122 commented 2 years ago

and I'm running it in docker. (docker compose)...

Now I've tried also with Safari 15 but with the same result. on iPhone and iPad it works correctly. On Safari for Mac it loads a white page.

(all the contents blocker are disabled)

rphlo commented 2 years ago

Fixed with PR rphlo:patch-1

mada199122 commented 2 years ago

I confirm it works now Thanks