Skip to content

Commit

Permalink
Merge pull request stakwork#2082 from stakwork/feat/websocket-env
Browse files Browse the repository at this point in the history
Feat: add websocket env
  • Loading branch information
elraphty authored Dec 4, 2024
2 parents 83042c6 + c9e1540 commit 4dcf8cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ var PresignClient *s3.PresignClient
var V2BotUrl string
var V2BotToken string
var IsV2Payment bool = false
var FfWebsocket bool = false

func InitConfig() {
Host = os.Getenv("LN_SERVER_BASE_URL")
Expand All @@ -61,6 +62,7 @@ func InitConfig() {
Connection_Auth = os.Getenv("CONNECTION_AUTH")
V2BotUrl = os.Getenv("V2_BOT_URL")
V2BotToken = os.Getenv("V2_BOT_TOKEN")
FfWebsocket = os.Getenv("FF_WEBSOCKET") == "true"

// Add to super admins
SuperAdmins = StripSuperAdmins(AdminStrings)
Expand Down

0 comments on commit 4dcf8cc

Please sign in to comment.