fix deploy and logs
This commit is contained in:
parent
79b3c8d693
commit
af8bbf536f
5 changed files with 40 additions and 6 deletions
|
|
@ -138,7 +138,7 @@ async function loadLogs(projectNode, projectID) {
|
|||
const out = projectNode.querySelector('[data-logs-out]');
|
||||
out.textContent = 'loading logs...';
|
||||
try {
|
||||
const res = await api(`/api/projects/${projectID}/logs?lines=200`);
|
||||
const res = await api(`/api/projects/${projectID}/logs?lines=100`);
|
||||
out.textContent = res.logs || '(no logs)';
|
||||
} catch (err) {
|
||||
out.textContent = `logs error: ${err.message}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue