Skip to content

Commit

Permalink
fix: Correct insecure skip verify environment variable logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrinke committed Feb 12, 2025
1 parent 05d1bce commit 462a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
log = logrus.New()

// Environment Variables
paperlessInsecureSkipVerify = os.Getenv("PAPERLESS_INSECURE_SKIP_VERIFY") == "false"
paperlessInsecureSkipVerify = os.Getenv("PAPERLESS_INSECURE_SKIP_VERIFY") == "true"
correspondentBlackList = strings.Split(os.Getenv("CORRESPONDENT_BLACK_LIST"), ",")
paperlessBaseURL = os.Getenv("PAPERLESS_BASE_URL")
paperlessAPIToken = os.Getenv("PAPERLESS_API_TOKEN")
Expand Down

0 comments on commit 462a978

Please sign in to comment.