🗑️ Clean up command related stuff
🚚 Move http package to web
This commit is contained in:
7
pkg/internal/web/api/check_ip.go
Normal file
7
pkg/internal/web/api/check_ip.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package api
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func getClientIP(c *fiber.Ctx) error {
|
||||
return c.SendString(c.IP())
|
||||
}
|
Reference in New Issue
Block a user