QFIX: Fix REST API + few minors (#8108)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-02-27 17:00:00 +07:00
committed by GitHub
parent 5bb36d6eee
commit e0ec8d4206
6 changed files with 41 additions and 31 deletions
+3 -1
View File
@@ -5,5 +5,7 @@
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
{ "src": "/icon-1024.png", "type": "image/png", "sizes": "1024x1024" }
]
],
"start_url": "/",
"scope": "/"
}
+1 -3
View File
@@ -3,7 +3,6 @@
//
import { type AnalyticProvider, Analytics } from "@hcengineering/analytics"
import { AnalyticsCollectorProvider } from './analytics/analyticsCollector'
import { PosthogAnalyticProvider } from "./analytics/posthog"
import { SentryAnalyticProvider } from "./analytics/sentry"
import { type Config } from "./platform"
@@ -11,8 +10,7 @@ import { type Config } from "./platform"
export function configureAnalytics (config: Config) {
const providers: AnalyticProvider[] = [
new SentryAnalyticProvider,
new PosthogAnalyticProvider,
new AnalyticsCollectorProvider
new PosthogAnalyticProvider
]
for (const provider of providers) {
Analytics.init(provider, config)