From 06763332c09f6933608c909a26625d0b1d7864a1 Mon Sep 17 00:00:00 2001
From: Hemanth Krishna <hkpdev008@gmail.com>
Date: Thu, 6 Apr 2023 02:00:31 +0530
Subject: [PATCH] chore: prefix /formatter

Signed-off-by: Hemanth Krishna <hkpdev008@gmail.com>
---
 main.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.go b/main.go
index 7e9b8ee..0cad587 100644
--- a/main.go
+++ b/main.go
@@ -39,7 +39,7 @@ func base64Encoder(input []byte) string {
 func main() {
 	app := fiber.New()
 	app.Use(cors.New())
-	app.Get("/", func(c *fiber.Ctx) error {
+	app.Get("/formatter/", func(c *fiber.Ctx) error {
 		return c.JSON(fiber.Map{
 			"status":  "true",
 			"details": "sorobix-formatter",
@@ -48,7 +48,7 @@ func main() {
 				"com/sorobix/sorobix-formatter",
 		})
 	})
-	app.Post("/", func(c *fiber.Ctx) error {
+	app.Post("/formatter/", func(c *fiber.Ctx) error {
 		var data request
 		err := c.BodyParser(&data)
 		if err != nil {