mirror of
				https://github.com/YunoHost-Apps/send_ynh.git
				synced 2025-11-04 07:45:30 +01:00 
			
		
		
		
	restrict upload api following the main url
This commit is contained in:
		@@ -52,6 +52,7 @@ ram.runtime = "50M"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    [resources.permissions]
 | 
					    [resources.permissions]
 | 
				
			||||||
    main.url = "/"
 | 
					    main.url = "/"
 | 
				
			||||||
 | 
					    main.additional_urls = "/api/upload"
 | 
				
			||||||
    api.url = "/api"
 | 
					    api.url = "/api"
 | 
				
			||||||
    api.allowed = "visitors"
 | 
					    api.allowed = "visitors"
 | 
				
			||||||
    api.auth_header = false
 | 
					    api.auth_header = false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user