diff --git a/installer/templates/new/config/prod.exs b/installer/templates/new/config/prod.exs index 48d2fa4dbc..a0bf3996ef 100644 --- a/installer/templates/new/config/prod.exs +++ b/installer/templates/new/config/prod.exs @@ -55,6 +55,10 @@ config :logger, level: :info # # config :<%= application_name %>, <%= application_module %>.Endpoint, server: true # +# You will also need to set the application root to `.` in order for the new static +# assets to be served after a hot upgrade. +# +# config :<%= application_name %>, <%= application_module %>.Endpoint, root: "." # Finally import the config/prod.secret.exs # which should be versioned separately.