parser hash fix

This commit is contained in:
Graham McIntire 2025-07-07 13:02:49 -05:00
parent 52311f52da
commit b2f9352091
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -79,7 +79,8 @@ if config_env() == :prod do
aprs_is_port: 14_580,
aprs_is_default_filter: System.get_env("APRS_FILTER"),
aprs_is_login_id: System.get_env("APRS_CALLSIGN"),
aprs_is_password: System.get_env("APRS_PASSCODE")
aprs_is_password: System.get_env("APRS_PASSCODE"),
env: :prod
# ## Configuring the mailer
#

View file

@ -9,7 +9,7 @@ defmodule Aprsme.DependencyInfo do
In production: fetches from GitHub API
"""
def get_aprs_library_sha do
if Mix.env() == :prod do
if Application.get_env(:aprsme, :env, :dev) == :prod do
fetch_aprs_sha_from_github()
else
get_aprs_sha_from_vendor()