live_svelte/example_project/config/prod.exs
2026-04-10 15:11:24 +03:00

26 lines
863 B
Elixir

import Config
# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
# when generating URLs.
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix phx.digest` task,
# which you should run after static files are built and
# before starting your production server.
config :example, ExampleWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
# Configures Swoosh API Client
config :swoosh, :api_client, false
# Do not print debug messages in production
config :logger, level: :info
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.
# Production SSR via NodeJS
config :live_svelte,
ssr_module: LiveSvelte.SSR.NodeJS,
ssr: true