depado / goploader

Easy file sharing with server-side encryption, curl/httpie/wget compliant
https://docs.gpldr.in
MIT License
274 stars 41 forks source link

token : how tu use it #71

Closed acaz closed 5 years ago

acaz commented 5 years ago

Hello

I'am interresting to using token for upload. How can we use it for permit upload file on self hosted server ?

Thx

depado commented 5 years ago

Hi, in your configuration file, just add a key named token like so:

token: mysupersecrettoken

This will automatically enable token usage, meaning all uploads will need to transmit this token before it is allowed to upload content to your self-hosted instance. Does this help?