use Mix.Config

config :course_planner, CoursePlanner.Endpoint,
  http: [port: {:system, "PORT"}],
  url: [scheme: "https", host: "course-planner-backend.herokuapp.com", port: 443],
  force_ssl: [rewrite_on: [:x_forwarded_proto]],
  cache_static_manifest: "priv/static/manifest.json",
  secret_key_base: System.get_env("SECRET_KEY_BASE")

config :logger, level: :info

config :course_planner, CoursePlanner.Repo,
  adapter: Ecto.Adapters.Postgres,
  url: System.get_env("DATABASE_URL"),
  pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
  ssl: true

config :coherence, CoursePlanner.Coherence.Mailer,
  adapter: Swoosh.Adapters.Sendgrid,
  api_key: System.get_env("SENDGRID_API_KEY")

config :coherence,
  email_from_name: System.get_env("EMAIL_FROM_NAME"),
  email_from_email: System.get_env("EMAIL_FROM_EMAIL")

config :course_planner, CoursePlanner.Mailer,
  adapter: Swoosh.Adapters.Sendgrid,
  api_key: System.get_env("SENDGRID_API_KEY")

use Mix.Config

config :course_planner, CoursePlanner.Endpoint,
  http: [port: {:system, "PORT"}],
  url: [scheme: "https", host: "course-planner-backend.herokuapp.com", port: 443],
  force_ssl: [rewrite_on: [:x_forwarded_proto]],
  cache_static_manifest: "priv/static/cache_manifest.json",
  secret_key_base: System.get_env("SECRET_KEY_BASE")

config :logger, level: :info

config :course_planner, CoursePlanner.Repo,
  adapter: Ecto.Adapters.Postgres,
  url: System.get_env("DATABASE_URL"),
  pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
  ssl: true

config :coherence, CoursePlanner.Coherence.Mailer,
  adapter: Swoosh.Adapters.Sendgrid,
  api_key: System.get_env("SENDGRID_API_KEY")

config :coherence,
  email_from_name: System.get_env("EMAIL_FROM_NAME"),
  email_from_email: System.get_env("EMAIL_FROM_EMAIL")

config :course_planner, CoursePlanner.Mailer,
  adapter: Swoosh.Adapters.Sendgrid,
  api_key: System.get_env("SENDGRID_API_KEY")

Update cache manifest file name.
Update cache manifest file name.

digitalnatives/course_planner,digitalnatives/course_planner,digitalnatives/course_planner