diff --git a/roles/taskotron/taskotron-master/templates/artifacts.conf.j2 b/roles/taskotron/taskotron-master/templates/artifacts.conf.j2 index 031987dc6c..41727887de 100644 --- a/roles/taskotron/taskotron-master/templates/artifacts.conf.j2 +++ b/roles/taskotron/taskotron-master/templates/artifacts.conf.j2 @@ -32,6 +32,12 @@ ExtFilterDefine gz-to-html mode=output \ intype=application/x-gzip outtype=text/html \ cmd="/bin/gunzip -c -" +{% if deployment_type in ['dev', 'stg'] %} +ExtFilterDefine gz-to-css mode=output \ +intype=application/x-gzip outtype=text/css \ +cmd="/bin/gunzip -c -" +{% endif %} + RewriteEngine on @@ -44,6 +50,11 @@ cmd="/bin/gunzip -c -" SetOutputFilter gz-to-plain +{% if deployment_type in ['dev', 'stg'] %} + + SetOutputFilter gz-to-css + +{% endif %} SetOutputFilter gz-to-html