Current section
Files
Jump to
Current section
Files
templates/new/config/dev.exs
import Mix.Config
alias DatoCMS.GraphQLClient.Backends.StandardClient
Application.put_env(
:fermo,
:live_mode_servers,
[{Registry, keys: :unique, name: :datocms_live_update_query_registry}]
)
config = Application.get_env(:datocms_graphql_client, :config, [])
merged = Keyword.merge(
config,
backend: StandardClient,
endpoint: "https://graphql-listen.datocms.com/preview",
live: true
)
Application.put_env(:datocms_graphql_client, :config, merged)