maple3142 / GDIndex

A Google Drive Index built with Vue Running on CloudFlare Workers
https://gdindex-demo.maple3142.workers.dev/
MIT License
1.85k stars 1.13k forks source link

Is it possible to have multiple default_root_id? #169

Closed PanPeople closed 3 years ago

PanPeople commented 3 years ago

Is it possible to have multiple root_id? Or is it hard to implement? It would be a nice feature if we want to acess some shared folders

maple3142 commented 3 years ago

No, and it is not needed. default_root_id only means the default drive to open when drive is not specified, so you can just select other drvie in menu (if exists).

PanPeople commented 3 years ago

But i don't have "Gsuite Business+ Account" i wan't to know is it possible to switch between shared folder, because even if they are visible in my root folder i can't acces them but you said that it is GDIndex is not a Google Drive. If i change the default_root_it to the prefig of my shared folder it works, but i don't wan't to do it manually every time when i want to have acces to my shared folder.

maple3142 commented 3 years ago

It is not supported by this project. Maybe you can use create a shortcut in your drive

PanPeople commented 3 years ago

And what about setting the default_root_id in the url? Because like i said, shortcuts doen't work

maple3142 commented 3 years ago

You can pass rootId already

PanPeople commented 3 years ago

Sorry but how to get it work in lite mode? passing rootid in default/not lite mode works excelent but will it work i nlite mode?

maple3142 commented 3 years ago

Lite mode doesn't support that

PanPeople commented 3 years ago

Any chance for adding such a feature?

maple3142 commented 3 years ago

No