fix readme

This commit is contained in:
Timo Hocker 2019-10-21 11:08:56 +02:00
parent 2db228bdb1
commit f493dfaed0

View File

@ -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),