debug changes

This commit is contained in:
2024-08-23 03:52:41 +01:00
parent 447834b556
commit ac8a3dcdca

View File

@@ -192,6 +192,7 @@ func Server() (*gin.Engine, error) {
r.GET("/MAPPort", func(c *gin.Context) {
Ports := c.DefaultQuery("port", "0")
DomainName := c.DefaultQuery("domain_name", "")
fmt.Println("here ------------")
url, _, err := MapPort(Ports, DomainName)
if err != nil {
c.String(http.StatusInternalServerError, fmt.Sprintf("error: %s", err))