add debug info on the client side
This commit is contained in:
parent
3183ee7eab
commit
4d3e22ebfa
@ -59,7 +59,8 @@ async function postMessage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function update_pid() {
|
async function update_pid() {
|
||||||
let r = (await fetch("/api/pid")).json()
|
let r = await (await fetch("/api/pid")).json()
|
||||||
|
console.log("new pid info: ",r)
|
||||||
if(r.error) {
|
if(r.error) {
|
||||||
//an error occurred
|
//an error occurred
|
||||||
if(r.error == "you cannot access the api without being logged in") {
|
if(r.error == "you cannot access the api without being logged in") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user