Merge branch 'main' into feat/deny-by-default-acls

This commit is contained in:
Stavros
2026-05-16 21:27:30 +03:00
30 changed files with 5420 additions and 1296 deletions
+3 -3
View File
@@ -138,9 +138,9 @@ func (controller *ProxyController) proxyHandler(c *gin.Context) {
if !controller.useBrowserResponse(proxyCtx) {
c.Header("x-tinyauth-location", redirectURL)
c.JSON(401, gin.H{
"status": 401,
"message": "Unauthorized",
c.JSON(403, gin.H{
"status": 403,
"message": "Forbidden",
})
return
}