mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: add coverage access
This commit is contained in:
parent
c5e42b5529
commit
ff41311cb5
@ -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"/>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user