Skip to content

Conversation

@Jipok
Copy link

@Jipok Jipok commented Feb 26, 2024

I googled for a long time and could not find any standard for checking whether a directory is read-only. So I implemented a simple check in the form of PUT to the folder. Servers that are configured for read-only give 405, and if writing is allowed, then another error.
It seems completely safe. (Well, the front never calls getChildren on a file, but only in this case it will overwrite the file)

I'm not a web developer and this is my first time writing in TypeScript. I don’t fully understand the architecture of the project, but it seems I implemented everything correctly. The only thing I couldn't fix was the delay in the disappearance of the footer. For some reason he appears instantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant