chore: remove debug configuration

This commit is contained in:
Arvid Norlin
2024-07-01 11:03:25 +02:00
parent edc2216d83
commit 0657355f27
2 changed files with 0 additions and 7 deletions

6
env/server.ts vendored
View File

@@ -9,8 +9,6 @@ export const env = createEnv({
*/
isServer: typeof window === "undefined" || "Deno" in window,
server: {
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: z.string(),
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: z.string(),
APPLICATION_INSIGHTS_CONNECTION_STRING: z.string(),
ADOBE_SCRIPT_SRC: z.string().optional(),
API_BASEURL: z.string(),
@@ -61,10 +59,6 @@ export const env = createEnv({
},
emptyStringAsUndefined: true,
runtimeEnv: {
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:
process.env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:
process.env.OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,
APPLICATION_INSIGHTS_CONNECTION_STRING:
process.env.APPLICATION_INSIGHTS_CONNECTION_STRING,
ADOBE_SCRIPT_SRC: process.env.ADOBE_SCRIPT_SRC,

View File

@@ -8,7 +8,6 @@
"build": "next build",
"predev": "rm -rf .next",
"dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
"dev:otel": "OTEL_LOG_LEVEL=debug && NEXT_OTEL_VERBOSE=1 && npm run dev",
"prelint": "rm -rf .next",
"lint": "next lint --max-warnings 0 && tsc",
"prelint:fix": "rm -rf .next",