~cosmicrose/liberator

ref: 51f354644721107fe4206a7a69e92bcec474b95c liberator/config/config.exs -rw-r--r-- 368 bytes
51f35464Rosa Richter Fix Earthfile 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: 2021 Rosa Richter
#
# SPDX-License-Identifier: MIT

import Config

config :liberator,
  media_types: %{
    "text/plain" => Liberator.MediaType.TextPlain,
    "application/json" => Jason
  },
  encodings: %{
    "identity" => Liberator.Encoding.Identity,
    "deflate" => Liberator.Encoding.Deflate,
    "gzip" => Liberator.Encoding.Gzip
  }