fix: use 401 errors instead of 403 for nginx responses

This commit is contained in:
Stavros
2026-05-15 18:12:15 +03:00
parent def539a40f
commit 4c741a5990
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func (controller *ResourcesController) resourcesHandler(c *gin.Context) {
if controller.config.Resources.Path == "" {
c.JSON(404, gin.H{
"status": 404,
"message": "Resources not found",
"message": "Resource not found",
})
return
}