mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Fixed XML error in Firefox. Renamed telemetry env var.
This commit is contained in:
parent
934914d249
commit
281671b792
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ import { removeTrailingSlash } from '../lib/url';
|
|||
const post = (url, data, callback) => {
|
||||
const req = new XMLHttpRequest();
|
||||
req.open('POST', url, true);
|
||||
req.setRequestHeader('Content-Type', 'text/plain');
|
||||
req.setRequestHeader('Content-Type', 'application/json');
|
||||
|
||||
req.onreadystatechange = () => {
|
||||
if (req.readyState === 4) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue