[FIX] runbot: add coverage access

This commit is contained in:
Xavier-Do 2022-11-22 13:18:15 +01:00 committed by xdo
parent c5e42b5529
commit ff41311cb5

View File

@ -42,7 +42,9 @@ server {
location /runbot/static/ {
alias <t t-esc="runbot_static"/>;
autoindex off;
location ~ /runbot/static/build/[^/]+/(logs|tests)/ {
return 404;
location /runbot/static/src { }
location ~ /runbot/static/build/[^/]+/(logs|tests|coverage)/ {
autoindex on;
add_header 'Access-Control-Allow-Origin' '<t t-esc="base_url"/>';
}