Skip to content

enterprise: correctly handle nil pointer when "dotcom" is not in site config

Administrator requested to merge sg/site-config-nil-pointer into master

Created by: slimsag

This fixes an issue where if "dotcom" is not in the site config (e.g. if testing SOURCEGRAPHDOTCOM_MODE=t in dev mode), a nil pointer would cause a panic.

Merge request reports

Loading