Is it possible to use google drive to store images uploaded to discourse?
1 个赞
Does Google let you serve files directly yet? Aren’t they still always wrapped in the web UI?
1 个赞
Not sure. I’ve always used google drive from a desktop.
I’ve been told folders from a google drive can be shared between two clients.
It’s probable the google drive could be mounted into a unix tree … that would get around needing private access to read write - as far as discourse would be concerned it would local storage.
2 个赞
I’ll have a play with https://github.com/odeke-em/drive#drive-server and see how it goes.
2 个赞
是的,这是可能的
没有直接链接
但是有重定向链接
以及嵌入式视频
我认为它必须保存为 image:driveID 和 video: driveID
然后渲染成 img 和 IFrame
上传的文件夹必须公开共享
1 个赞