Packages

DatoCMS client with helpers for static site generators

Current section

Files

Jump to
datocms_client lib datocms supervisor.ex
Raw

lib/datocms/supervisor.ex

defmodule DatoCMS.Supervisor do
use Supervisor
def start_link do
Supervisor.start_link(__MODULE__, :ok)
end
def init(:ok) do
children = [worker(DatoCMS.Repo, [])]
supervise(children, strategy: :one_for_one)
end
end