#!/usr/bin/env bash
# Save Override — point the app back at production.
# Removes the config.json api_url override (falls back to the built-in prod default).
set -euo pipefail

cfg_dir="${SO_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/save-override}"
cfg_file="$cfg_dir/config.json"

rm -f "$cfg_file"

echo "Save Override now points at production (api.save-override.com)."
echo "Cleared any override at: $cfg_file"
echo
echo "Quit Save Override completely and relaunch it to apply the change."
