feat: breadcrumbs for My Pages
This commit is contained in:
5
env/server.ts
vendored
5
env/server.ts
vendored
@@ -2,6 +2,11 @@ import { createEnv } from "@t3-oss/env-nextjs"
|
||||
import { z } from "zod"
|
||||
|
||||
export const env = createEnv({
|
||||
/**
|
||||
* Due to t3-env only checking typeof window === "undefined"
|
||||
* and Netlify running Deno, window is never "undefined"
|
||||
* https://github.com/t3-oss/t3-env/issues/154
|
||||
*/
|
||||
isServer: typeof window === "undefined" || "Deno" in window,
|
||||
server: {
|
||||
ADOBE_SCRIPT_SRC: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user