mgilangjanuar / teledrive

The Google Drive/OneDrive/etc alternative using Telegram API
https://teledriveapp.com
GNU General Public License v3.0
2.06k stars 948 forks source link

Make some directories configrable #499

Open sg-qwt opened 1 year ago

sg-qwt commented 1 year ago
  1. Use user specified CACHE_DIR if exists This is useful if say user deploy the service as systemd unit, then cache can be wrote to standard systemd CacheDirectory for example. (/var/cache/xxx)

  2. Use user specified WEB_SERVE_DIR if exists For some building system, (nix specific here), we build the two web and api worspaces separately, so web build isn't necessarily of __dirname/../../web/build, make that configurable would be nice.

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to the automix-ai Team on Vercel.

A member of the Team first needs to authorize it.