From d9e50b9dde755e17201ebc3862ef19879919ade2 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 3 Jun 2021 14:50:09 -0400
Subject: [PATCH] Put the original domain first

The original domain got some state created for it by certbot.  The
certificates are anchored to `payments.privatestorage.io` in the filesystem.
The code handling these domains uses the first domain name in the list to find
the certificates, so make it match the filesystem state.
---
 morph/grid/production/config.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/morph/grid/production/config.json b/morph/grid/production/config.json
index 970fde23..e71cb8b4 100644
--- a/morph/grid/production/config.json
+++ b/morph/grid/production/config.json
@@ -3,8 +3,8 @@
 , "stripeSecretKeyPath": "./secrets/stripe.secret"
 , "passValue": 1000000
 , "issuerDomains": [
-    "payments.private.storage"
-  , "payments.privatestorage.io"
+    "payments.privatestorage.io"
+  , "payments.private.storage"
   ]
 , "letsEncryptAdminEmail": "jean-paul@privatestorage.io"
 , "allowedChargeOrigins": [
-- 
GitLab