beta. Modbus fixed and tested
This commit is contained in:
@@ -29,6 +29,7 @@ async function request(baseUrl, path, options = {}) {
|
||||
const response = await fetch(baseUrl + path, {
|
||||
headers,
|
||||
method: options.method || "GET",
|
||||
cache: options.cache || "no-store",
|
||||
body: options.body === undefined ? undefined : isJsonBody ? JSON.stringify(options.body) : options.body,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user