microbin icon indicating copy to clipboard operation
microbin copied to clipboard

Does MICROBIN_EDITABLE=false do anything?

Open rmzg opened this issue 8 months ago • 2 comments

I want to disable editing/removing uploads, especially when shared to other people, without having to set a password every single time I upload, but nothing I try seems to work. I've tried setting MICROBIN_EDITABLE=false but it doesn't seem to change anything. Reading through the code, it looks like editable is just always set to true? I can't find any place where you actually read the editable environment variable.

https://github.com/szabodanika/microbin/blob/b8a0c5490d681550d982ad02d67a1aaa0897f503/src/endpoints/create.rs#L94

rmzg avatar Nov 01 '23 09:11 rmzg