Skip to content

Commit

Permalink
Merge branch 'EverythingSuckz:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSH authored May 14, 2024
2 parents 1cbad3a + 3c52c67 commit 69c118f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<hr>

> [!NOTE]
> Checkout [python branch](https://github.com/EverythingSuckz/TG-FileStreamBot/tree/main) if you are interested in that.
> Checkout [python branch](https://github.com/EverythingSuckz/TG-FileStreamBot/tree/python) if you are interested in that.
<hr>

Expand Down
6 changes: 0 additions & 6 deletions cmd/fsb/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ func runApp(cmd *cobra.Command, args []string) {
mainLogger.Info("Server started", zap.Int("port", config.ValueOf.Port))
mainLogger.Info("File Stream Bot", zap.String("version", versionString))
mainLogger.Sugar().Infof("Server is running at %s", config.ValueOf.Host)
publicIp, err := config.GetPublicIP()
if err != nil {
mainLogger.Debug("Failed to get public IP", zap.Error(err))
} else {
mainLogger.Info("Public IP", zap.String("ip", publicIp))
}
err = router.Run(fmt.Sprintf(":%d", config.ValueOf.Port))
if err != nil {
mainLogger.Sugar().Fatalln(err)
Expand Down

0 comments on commit 69c118f

Please sign in to comment.