mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
QFIX: Fix REST API + few minors (#8108)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -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": "/"
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user