From 7563576557db50c78e998198461c6503b0c2240a Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 1 Jan 2024 15:48:33 +0000 Subject: [PATCH] [docker] allow source maps to be downloaded --- .docker/entrypoint.d/config.json.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.docker/entrypoint.d/config.json.tmpl b/.docker/entrypoint.d/config.json.tmpl index ee37c21d..d1088d6e 100644 --- a/.docker/entrypoint.d/config.json.tmpl +++ b/.docker/entrypoint.d/config.json.tmpl @@ -35,6 +35,7 @@ "image/*", "application/javascript", "text/css", + "application/sourcemap", "!" ], "response_headers": { @@ -69,7 +70,12 @@ }, "settings": { "http": { - "max_body_size": 1048576000 + "max_body_size": 1048576000, + "static": { + "mime_types": { + "application/sourcemap": [".map"] + } + } } } }