Fix social urls

This commit is contained in:
Seth Call 2024-12-01 10:01:14 -06:00
parent a09f922463
commit 2402cf6992
4 changed files with 8 additions and 9 deletions

View File

@ -44,20 +44,19 @@
<span style="margin-right: 1em;">
<%= I18n.t "mailer_layout.footer.connect_with_us" -%>
</span>
<a href="https://www.facebook.com" target="_blank" style="text-decoration: none;">
<a href="https://www.facebook.com/JamKazam/" target="_blank" style="text-decoration: none;">
<img src="<%= asset_url("/email/fb-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Facebook" style="width: 24px; height: 24px; margin: 0 5px;">
</a>
<a href="https://www.instagram.com" target="_blank" style="text-decoration: none;">
<a href="https://www.instagram.com/jamkazamofficial" target="_blank" style="text-decoration: none;">
<img src="<%= asset_url("/email/instagram-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="Instagram" style="width: 24px; height: 24px; margin: 0 5px;">
</a>
<a href="https://www.tiktok.com" target="_blank" style="text-decoration: none;">
<a href="https://www.tiktok.com/@jamkazamofficial" target="_blank" style="text-decoration: none;">
<img src="<%= asset_url("/email/tiktok-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="TikTok" style="width: 24px; height: 24px; margin: 0 5px;">
</a>
<a href="https://www.youtube.com" target="_blank" style="text-decoration: none;">
<a href="https://www.youtube.com/@jamkazam" target="_blank" style="text-decoration: none;">
<img src="<%= asset_url("/email/youtube-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="YouTube" style="width: 24px; height: 24px; margin: 0 5px;">
</a>
<a href="https://www.x.com" target="_blank" style="text-decoration: none;">
<a href="https://x.com/jamkazam" target="_blank" style="text-decoration: none;">
<img src=<%= asset_url("/email/twitter-x-icon.svg", host: APP_CONFIG.action_mailer.asset_host ) -%>" alt="X.com" style="width: 24px; height: 24px; margin: 0 5px;">
</a>
</div>

View File

@ -2,7 +2,7 @@
#REAL_IP=192.168.0.42
REAL_IP=127.0.0.1
REAL_IP=192.168.4.235
if [ ! -z "$1" ]; then
REAL_IP="$1"
fi

View File

@ -519,5 +519,6 @@ if defined?(Bundler)
config.spa_origin = "http://beta.jamkazam.local:4000"
config.user_match_monitoring_email = "user_match_monitoring_email@jamkazam.com"
config.send_user_match_mail_only_to_jamkazam_team = true
config.action_mailer.asset_host = config.action_controller.asset_host
end
end

View File

@ -123,8 +123,7 @@ SampleApp::Application.configure do
config.session_cookie_domain = ".jamkazam.local"
config.action_controller.asset_host = 'http://www.jamkazam.local:3000/assets'
config.action_mailer.asset_host = config.action_controller.asset_host
config.action_controller.asset_host = 'http://www.jamkazam.local:3000'
config.send_user_match_mail_only_to_jamkazam_team = false
end