GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.37k stars 82 forks source link

fileOpen is not working in server, but it's working fine in local system #124

Closed jeevatrippy closed 1 year ago

jeevatrippy commented 1 year ago

Hi,

In my application,

await fileOpen({ })

Is not working after deployed on DigitalOcean server, but it's working fine in my local I don't know why it was happening, Please help me to resolve this issue.

Thank you.

tomayac commented 1 year ago

Do you have a URL for me to investigate?

jeevatrippy commented 1 year ago

@tomayac Thanks for your reply,

http://165.227.219.107:3000/artkit

this is the site, ill give the instructions

1) click on new collections
2) and click the expand button in the top right corner in sidebar under hamburger icon 3) expand the metadata folder and click on 0.token.json 4)click the pick file and click the form computer button.

Please see the below image for reference.

Thank you.

image

tomayac commented 1 year ago

Your site is not delivered over https:, so the File System Access API is not available.

Screenshot 2022-08-29 at 14 27 59

(That being said, I fail to find any occurrence of fileOpen() in your code.)

Screenshot 2022-08-29 at 14 29 36