test3
This commit is contained in:
1 parent
eb770487dc
commit
163df8b343
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@
|
|||||||
<script>
|
<script>
|
||||||
async function fetchLogs() {
|
async function fetchLogs() {
|
||||||
try {
|
try {
|
||||||
const res = await fetch('/home/pm2/.pm2/logs/proxerdl-worker1-out.log');
|
const res = await fetch('../../../.pm2/logs/proxerdl-worker1-out.log');
|
||||||
const text = await res.text();
|
const text = await res.text();
|
||||||
document.getElementById('pm2Logs').textContent = text;
|
document.getElementById('pm2Logs').textContent = text;
|
||||||
// auto-scroll to bottom
|
// auto-scroll to bottom
|
||||||
|
|||||||
Reference in new issue
Block a user