Skip to content

Commit 96eae4a

Browse files
committed
Adding [AllowAnonymous] to GetImage to be able to show custom images.
1 parent 02988f8 commit 96eae4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eFormAPI/eFormAPI.Web/Controllers/ImagesController.cs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public ImagesController(ILocalizationService localizationService)
2121
}
2222

2323
[HttpGet]
24+
[AllowAnonymous]
2425
[Route("api/images/eform-images")]
2526
public IActionResult GetImage(string fileName)
2627
{

0 commit comments

Comments
 (0)