Packages

Flex is a lightweight, Flask-inspired web framework for Elixir.

Current section

Files

Jump to
flex_web priv new_app_template config config.exs.eex
Raw

priv/new_app_template/config/config.exs.eex

import Config
config :flex_web,
otp_app: :<%= @app %>,
controllers_path: Path.join([File.cwd!(), "lib", "controllers"]),
templates_path: Path.join([File.cwd!(), "lib", "templates"])
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"