mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(logs): extra CRs in downloading container logs EE-1973 (#6041)
This commit is contained in:
parent
33871eb447
commit
b596d0febd
3 changed files with 6 additions and 2 deletions
|
@ -46,7 +46,7 @@ angular.module('portainer.docker').factory('LogHelper', [
|
|||
|
||||
function stripHeaders(logs) {
|
||||
logs = logs.substring(8);
|
||||
logs = logs.replace(/\n(.{8})/g, '\n\r');
|
||||
logs = logs.replace(/\r?\n(.{8})/g, '\n');
|
||||
|
||||
return logs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue