Skip to content

Commit

Permalink
remove DATABASE_URL from being required for build (#246)
Browse files Browse the repository at this point in the history
Any questions should be directed to @vujita

---

Replace any ":question:" below with information about your pull request.

## Pull Request Details

Provide details about your pull request and what it adds, fixes, or
changes.

:question:

## Breaking Changes

Describe what features are broken by this pull request and why, if any.

:question:

## Issues Fixed

Enter the issue numbers resolved by this pull request below, if any.

1. :question:

## Other Relevant Information

Provide any other important details below.

:question:
  • Loading branch information
vujita authored Jun 17, 2024
1 parent 5be5be2 commit e28a05b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/vubnguyen/src/env.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createEnv } from "@t3-oss/env-nextjs";
import { z } from "zod";

export const env = createEnv({
/**
Expand All @@ -22,8 +21,6 @@ export const env = createEnv({
* Specify your server-side environment variables schema here. This way you can ensure the app isn't
* built with invalid env vars.
*/
server: {
DATABASE_URL: z.string().url(),
},
server: {},
skipValidation: !!process.env.CI || !!process.env.SKIP_ENV_VALIDATION,
});

0 comments on commit e28a05b

Please sign in to comment.