aboutsummaryrefslogtreecommitdiff
path: root/config/application.cr
diff options
context:
space:
mode:
Diffstat (limited to 'config/application.cr')
-rw-r--r--config/application.cr24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/application.cr b/config/application.cr
new file mode 100644
index 0000000..c807149
--- /dev/null
+++ b/config/application.cr
@@ -0,0 +1,24 @@
+# This file may be used for custom Application configurations.
+# It will be loaded before other config files.
+#
+# Read more on configuration:
+# https://luckyframework.org/guides/getting-started/configuration#configuring-your-own-code
+
+# Use this code as an example:
+#
+# ```
+# module Application
+# Habitat.create do
+# setting support_email : String
+# setting lock_with_basic_auth : Bool
+# end
+# end
+#
+# Application.configure do |settings|
+# settings.support_email = "support@myapp.io"
+# settings.lock_with_basic_auth = LuckyEnv.staging?
+# end
+#
+# # In your application, call
+# # `Application.settings.support_email` anywhere you need it.
+# ```