fix readme
This commit is contained in:
parent
2db228bdb1
commit
f493dfaed0
@ -64,10 +64,6 @@ window.onerror = async function(msg, source, lineno, colno, error) {
|
|||||||
} else {
|
} else {
|
||||||
data = { app: 'app1', type: 'error', client: appClientId, message: msg };
|
data = { app: 'app1', type: 'error', client: appClientId, message: msg };
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
* the first 4 characters of the client will be displayed as app
|
|
||||||
* the remaining characters (up to 64) will be displayed as client
|
|
||||||
*/
|
|
||||||
fetch('http://localhost:8080', {
|
fetch('http://localhost:8080', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: JSON.stringify(data),
|
body: JSON.stringify(data),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user