Skip to content

Commit

Permalink
miniapp
Browse files Browse the repository at this point in the history
  • Loading branch information
radiantspace committed Nov 18, 2024
1 parent f9ddaaa commit 8c25c45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"os/signal"
"strconv"
"syscall"
miniapp "talk2robots/m/v2/app"
"talk2robots/m/v2/app/config"
"talk2robots/m/v2/app/db/mongo"
"talk2robots/m/v2/app/db/redis"
Expand Down Expand Up @@ -98,8 +97,7 @@ func main() {
})

rtr.GET("/miniapp", func(ctx *fasthttp.RequestCtx) {
ctx.Response.Header.Set("Content-Type", "text/html")
_, _ = ctx.WriteString(miniapp.HomePage)
ctx.Redirect("https://t.me/gienjibot?start=s=miniapp", fasthttp.StatusFound)
})

// stripe webhook
Expand Down

0 comments on commit 8c25c45

Please sign in to comment.