Closed nemunaire closed 5 days ago
To follow up https://github.com/ddvk/rmfakecloud/pull/240#issuecomment-2481664248, this addresses the possibility of adding or editing localfs directly from the UI.
Instead it shows the content to add/edit in .userprofile:
.userprofile
To be able to pass error directly from Go code, I added a convention that errors reported as JSON should be passed to the UI as:
c.AbortWithStatusJSON(http.ErrorStatus, gin.H{"error": err.Error()})
we could add a config variable for allowed root paths for localfs, which would mitigate the issue.
To follow up https://github.com/ddvk/rmfakecloud/pull/240#issuecomment-2481664248, this addresses the possibility of adding or editing localfs directly from the UI.
Instead it shows the content to add/edit in
.userprofile
:To be able to pass error directly from Go code, I added a convention that errors reported as JSON should be passed to the UI as: