schollz / cowyo

A feature-rich wiki webserver for minimalists :cow: :speech_balloon:
https://cowyo.com/
MIT License
924 stars 67 forks source link

Instead of using data folder, files are uploaded to /root/pathToData #147

Open blakeearth opened 5 years ago

blakeearth commented 5 years ago

My .upload files are stored in /root/data by default, instead of alongside page .json files.

blakeearth commented 5 years ago

I tried using the -data flag to provide an absolute directory, but this seems to have caused all new files to be placed in /root/data. I don't know if I have done something to cause this, but I am confused. I've tried to look in the handlers.go but could not find any problem (I don't know Go, so that's surely part of it, sorry). For now, I will store everything in the /root/data.