whoops
This commit is contained in:
parent
7547e6af57
commit
cd32967f72
@ -429,11 +429,11 @@ class Server extends EventEmitter
|
|||||||
if (process.env.NODE_ENV !== 'production')
|
if (process.env.NODE_ENV !== 'production')
|
||||||
return;
|
return;
|
||||||
if (!this.#analyticsKey)
|
if (!this.#analyticsKey)
|
||||||
return this.#logger.warn('Missing analytics key');
|
return; // this.#logger.warn('Missing analytics key');
|
||||||
await fetch('http://analytics.stylis.local:4000/analytics/api', {
|
await fetch('ANALYTICS API HERE', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'X-Skids': this.#analyticsKey,
|
'Authorisation': this.#analyticsKey,
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
body: JSON.stringify(values)
|
body: JSON.stringify(values)
|
||||||
|
Loading…
Reference in New Issue
Block a user