From 8aebb386a48ce6da234b133f8d7ba7444b22895f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 27 Mar 2024 20:19:24 +0400 Subject: [PATCH] Configure Mastodon user address domain for akkounts --- environments/production.json | 1 + site-cookbooks/kosmos-akkounts/recipes/default.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/environments/production.json b/environments/production.json index c99a461..b7c2dde 100644 --- a/environments/production.json +++ b/environments/production.json @@ -74,6 +74,7 @@ }, "kosmos-mastodon": { "domain": "kosmos.social", + "user_address_domain": "kosmos.social", "s3_endpoint": "http://localhost:3900", "s3_region": "garage", "s3_bucket": "kosmos-social", diff --git a/site-cookbooks/kosmos-akkounts/recipes/default.rb b/site-cookbooks/kosmos-akkounts/recipes/default.rb index 2a8fb0b..8d11428 100644 --- a/site-cookbooks/kosmos-akkounts/recipes/default.rb +++ b/site-cookbooks/kosmos-akkounts/recipes/default.rb @@ -149,6 +149,7 @@ end # env[:mastodon_public_url] = "https://#{node['kosmos-mastodon']['domain']}" +env[:mastodon_address_domain] = node['kosmos-mastodon']['user_address_domain'] # # MediaWiki