remove default env values. correct package json with env vars .

This commit is contained in:
Первов Артем
2026-06-19 09:41:16 +03:00
parent 10dbdb2120
commit cbe33500cf
7 changed files with 8 additions and 13 deletions

View File

@@ -1,7 +1,4 @@
const DEFAULT_CLOUD_INGEST_URL = 'http://localhost:3101/ingest'
export const cloudIngestUrl =
process.env.CLOUD_INGEST_URL ?? DEFAULT_CLOUD_INGEST_URL
export const cloudIngestUrl = process.env.CLOUD_INGEST_URL as string
export function postCloudIngest(body: unknown): Promise<Response> {
return fetch(cloudIngestUrl, {