Skip to content

Commit

Permalink
Merge pull request #162 from neutrons/live_data_server_domain
Browse files Browse the repository at this point in the history
Configurable Live Data Server domain name
  • Loading branch information
backmari authored May 1, 2024
2 parents f2d9a5c + ba9d8be commit de87957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webmon_app/reporting/reporting_app/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ def validate_ldap_settings(server_uri, user_dn_template):
INSTRUMENT_REDUCTION_SETUP = ("seq", "arcs", "corelli", "cncs", "ref_m")

LIVE_DATA_SERVER = "/plots/$instrument/$run_number/update"
LIVE_DATA_SERVER_DOMAIN = "livedata.sns.gov"
LIVE_DATA_SERVER_PORT = "443"
LIVE_DATA_SERVER_DOMAIN = environ.get("LIVE_DATA_SERVER_DOMAIN", "livedata.sns.gov")
LIVE_DATA_SERVER_PORT = environ.get("LIVE_DATA_SERVER_PORT", "443")

# set up the mapping of instruments to facilities
FACILITY_INFO = defaultdict(lambda: "SNS") # SNS is the default
Expand Down

0 comments on commit de87957

Please sign in to comment.