From cd32967f7208e023958828b22c9e94b30937e810 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 17 Jan 2024 19:09:37 +0200 Subject: [PATCH] whoops --- src/server/Server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/Server.ts b/src/server/Server.ts index bfe052e..c01a942 100644 --- a/src/server/Server.ts +++ b/src/server/Server.ts @@ -429,11 +429,11 @@ class Server extends EventEmitter if (process.env.NODE_ENV !== 'production') return; if (!this.#analyticsKey) - return this.#logger.warn('Missing analytics key'); - await fetch('http://analytics.stylis.local:4000/analytics/api', { + return; // this.#logger.warn('Missing analytics key'); + await fetch('ANALYTICS API HERE', { method: 'POST', headers: { - 'X-Skids': this.#analyticsKey, + 'Authorisation': this.#analyticsKey, 'Content-Type': 'application/json' }, body: JSON.stringify(values)