Skip to content

Commit

Permalink
chore: remove NEXT_PUBLIC_GOOGLE_STORAGE_BUCKET_NAME (#480)
Browse files Browse the repository at this point in the history
Leftover from PR #446
  • Loading branch information
PabloCastellano committed Aug 6, 2024
1 parent fa3a656 commit a42a76f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions apps/web/src/env.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createEnv } from "@t3-oss/env-nextjs";
import { z } from "zod";

import packageJson from "../package.json" assert { type: "json" }
import packageJson from "../package.json" assert { type: "json" }

// See booleanSchema from packages/zod/src/schemas.ts
// We need to redefine it because we can't import ts files from here
Expand Down Expand Up @@ -36,9 +36,6 @@ export const env = createEnv({
* For them to be exposed to the client, prefix them with `NEXT_PUBLIC_`.
*/
client: {
NEXT_PUBLIC_GOOGLE_STORAGE_BUCKET_NAME: z
.string()
.default("blobscan-production"),
NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED: booleanSchema.default("false"),
NEXT_PUBLIC_NETWORK_NAME: networkSchema.default("mainnet"),
NEXT_PUBLIC_SUPPORTED_NETWORKS: z
Expand Down Expand Up @@ -66,8 +63,6 @@ export const env = createEnv({
NODE_ENV: process.env.NODE_ENV,
NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED:
process.env.NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED,
NEXT_PUBLIC_GOOGLE_STORAGE_BUCKET_NAME:
process.env.NEXT_PUBLIC_GOOGLE_STORAGE_BUCKET_NAME,
NEXT_PUBLIC_NETWORK_NAME: process.env.NEXT_PUBLIC_NETWORK_NAME,
NEXT_PUBLIC_SUPPORTED_NETWORKS: process.env.NEXT_PUBLIC_SUPPORTED_NETWORKS,
NEXT_PUBLIC_EXPLORER_BASE_URL: process.env.NEXT_PUBLIC_EXPLORER_BASE_URL,
Expand Down
1 change: 0 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"GOOGLE_STORAGE_ENABLED",
"PRISMA_BATCH_OPERATIONS_MAX_SIZE",
"NEXTAUTH_URL",
"NEXT_PUBLIC_GOOGLE_STORAGE_BUCKET_NAME",
"NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED",
"NEXT_PUBLIC_NETWORK_NAME",
"NETWORK_NAME",
Expand Down

0 comments on commit a42a76f

Please sign in to comment.