Update ups-exporter.js
This commit is contained in:
parent
58729ca164
commit
d79d035338
@ -1,7 +1,7 @@
|
|||||||
import { $ } from 'bun';
|
import { $ } from 'bun';
|
||||||
import http from 'http';
|
import http from 'http';
|
||||||
|
|
||||||
const port = 3000;
|
const port = 1024;
|
||||||
|
|
||||||
async function scrape() {
|
async function scrape() {
|
||||||
const data = await $`pwrstat -status`.text();
|
const data = await $`pwrstat -status`.text();
|
||||||
|
Loading…
Reference in New Issue
Block a user