Skip to content

Commit

Permalink
temporary change response code to 418
Browse files Browse the repository at this point in the history
  • Loading branch information
MindHunter86 committed Jun 29, 2024
1 parent 951bfc3 commit 32582ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/rewriter/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rewriter
import "github.com/gofiber/fiber/v2"

func (*Rewriter) HandleDummy(c *fiber.Ctx) error {
return respondPlainWithStatus(c, fiber.StatusNoContent)
return respondPlainWithStatus(c, fiber.StatusTeapot)
}

func (*Rewriter) HandleUnavailable(*fiber.Ctx) error {
Expand All @@ -15,5 +15,5 @@ func (m *Rewriter) HandleIndex(c *fiber.Ctx) (e error) {
return fiber.NewError(fiber.StatusInternalServerError, e.Error())
}

return respondPlainWithStatus(c, fiber.StatusNoContent)
return respondPlainWithStatus(c, fiber.StatusTeapot)
}

0 comments on commit 32582ba

Please sign in to comment.