Skip to content

Commit d82be77

Browse files
fix: register .kdl MIME type for bundle file uploads
1 parent 39ef782 commit d82be77

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

config/config.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
# General application configuration
88
import Config
99

10+
# Register .kdl MIME type for file uploads
11+
config :mime, :types, %{
12+
"text/plain" => ["kdl"]
13+
}
14+
1015
config :sentinel_cp,
1116
ecto_repos: [SentinelCp.Repo],
1217
generators: [timestamp_type: :utc_datetime],

0 commit comments

Comments
 (0)