From 641300392474dd4a0dec4c05ecc899f1318a054e Mon Sep 17 00:00:00 2001 From: Lasse Gaardsholt Date: Wed, 14 Jul 2021 10:24:51 +0200 Subject: [PATCH] Update HexController.cs --- barcoder/Controllers/HexController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/barcoder/Controllers/HexController.cs b/barcoder/Controllers/HexController.cs index ac3b78a..aa38148 100644 --- a/barcoder/Controllers/HexController.cs +++ b/barcoder/Controllers/HexController.cs @@ -9,6 +9,8 @@ public class HexController : ControllerBase { [HttpGet("hex.png")] + [HttpOptions("hex.png")] + [HttpHead("hex.png")] public IActionResult Get(string color, string border, int width = 300, int height = 300) { try