mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: add coverage access
This commit is contained in:
parent
c5e42b5529
commit
ff41311cb5
@ -42,7 +42,9 @@ server {
|
|||||||
location /runbot/static/ {
|
location /runbot/static/ {
|
||||||
alias <t t-esc="runbot_static"/>;
|
alias <t t-esc="runbot_static"/>;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
location ~ /runbot/static/build/[^/]+/(logs|tests)/ {
|
return 404;
|
||||||
|
location /runbot/static/src { }
|
||||||
|
location ~ /runbot/static/build/[^/]+/(logs|tests|coverage)/ {
|
||||||
autoindex on;
|
autoindex on;
|
||||||
add_header 'Access-Control-Allow-Origin' '<t t-esc="base_url"/>';
|
add_header 'Access-Control-Allow-Origin' '<t t-esc="base_url"/>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user