File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11FaspBase . tap do |f |
22 # Replace with actual fasp name
3- f . fasp_name = Rails . application . name
3+ f . fasp_name = ENV . fetch ( "FASP_NAME" , Rails . application . name )
44
55 # Domain of the fasp, used to generate URLs outside of a requests context
66 f . domain = ENV [ "DOMAIN" ] || ActionController ::Base . default_url_options [ :host ] || "localhost:3000"
1414 ]
1515
1616 # Additional metadata
17- # f.privacy_policy_url = ENV[ "PRIVACY_POLICY_URL"]
18- # f.privacy_policy_language = ENV[ "PRIVACY_POLICY_LANGUAGE"]
19- # f.contact_email = ENV[ "CONTACT_EMAIL"]
20- # f.fediverse_account = ENV[ "FEDIVERSE_ACCOUNT"]
17+ f . privacy_policy_url = ENV . fetch ( "PRIVACY_POLICY_URL" , nil )
18+ f . privacy_policy_language = ENV . fetch ( "PRIVACY_POLICY_LANGUAGE" , nil )
19+ f . contact_email = ENV . fetch ( "CONTACT_EMAIL" , nil )
20+ f . fediverse_account = ENV . fetch ( "FEDIVERSE_ACCOUNT" , nil )
2121end
2222
2323# If you plan to patch classes from the `fasp_base` engine
You can’t perform that action at this time.
0 commit comments