Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions modules/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
"""
Configuration module for PyFRC2G
"""
Expand All @@ -6,8 +7,8 @@
GATEWAY_TYPE = "pfsense"

# pfSense Configuration
PFS_BASE_URL = "https://<PFS_ADDRESS>"
PFS_TOKEN = "<YOUR_PFSENSE_API_TOKEN>"
PFS_BASE_URL = os.environ.get("PFS_BASE_URL")
PFS_TOKEN = os.environ.get("PFS_TOKEN")

# OPNSense Configuration
OPNS_BASE_URL = "https://<OPNS_ADDRESS>"
Expand Down