Expose backend coverage in dev mode through web

Generate backend coverage in ci
This commit is contained in:
Jamie Curnow committed 2023-07-27 13:44:38 +10:00
1 parent 9faa36315f
commit d8a3726f3a
2 files changed
+8 -1

No files matched your search

+5
View File
@@ -6,6 +6,11 @@ server {
return 302 /api/;
}
root /app/backend;
location /api/coverage {
try_files /index.html /coverage.html;
}
location /api/ {
add_header X-Served-By $host;
chunked_transfer_encoding off;