mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix
This commit is contained in:
@@ -10,6 +10,5 @@ export const OTLP_AUTH_TOKEN =
|
|||||||
export function getOtlpEndpoint(): string {
|
export function getOtlpEndpoint(): string {
|
||||||
return process.env.NODE_ENV === "production"
|
return process.env.NODE_ENV === "production"
|
||||||
? "https://telemetry.portabase.io"
|
? "https://telemetry.portabase.io"
|
||||||
// : "http://localhost:4318";
|
: "http://localhost:4318"
|
||||||
: "https://sandbox.telemetry.portabase.io";
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ const level = (process.env.LOG_LEVEL ?? defaultLevel) as pino.Level;
|
|||||||
function getLocalTimestamp() {
|
function getLocalTimestamp() {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
|
|
||||||
const formatted = new Intl.DateTimeFormat("en-US", {
|
const formatted = new Intl.DateTimeFormat("en-GB", {
|
||||||
timeZone: process.env.TZ,
|
timeZone: process.env.TZ,
|
||||||
year: "numeric",
|
year: "numeric",
|
||||||
month: "2-digit",
|
month: "2-digit",
|
||||||
|
|||||||
Reference in New Issue
Block a user